xfs: check for not fully initialized inodes in xfs_ireclaim
authorChristoph Hellwig <hch@infradead.org>
Tue, 1 Dec 2009 18:12:29 +0000 (18:12 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 16 Dec 2009 19:20:15 +0000 (13:20 -0600)
commitb44b1126279b60597f96bbe77507b1650f88a969
tree220cb8d4903532c2551ee2bdffa03885cdc642ba
parent5ac4d630eb87656bd4dc313b910776d54d88ea28
xfs: check for not fully initialized inodes in xfs_ireclaim

Add an assert for inodes not added to the inode cache in xfs_ireclaim,
to make sure we're not going to introduce something like the
famous nfsd inode cache bug again.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_iget.c