xfs: Remove inode iolock held check during allocation
authorDave Chinner <david@fromorbit.com>
Sun, 10 Jan 2010 23:51:48 +0000 (23:51 +0000)
committerAlex Elder <aelder@sgi.com>
Fri, 15 Jan 2010 19:45:33 +0000 (13:45 -0600)
commit126976c7c17d3bdfbc1fe9e0af8bee9f62d14cc6
tree01b15c25ad8be7402a54fd090771a12084e8f425
parent57817c68229984818fea9e614d6f95249c3fb098
xfs: Remove inode iolock held check during allocation

lockdep complains about a the lock not being initialised as we do an
ASSERT based check that the lock is not held before we initialise it
to catch inodes freed with the lock held.

lockdep does this check for us in the lock initialisation code, so
remove the ASSERT to stop the lockdep warning.

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