[XFS] Unlock inode before calling xfs_idestroy()
authorLachlan McIlroy <lachlan@sgi.com>
Thu, 30 Oct 2008 05:53:38 +0000 (16:53 +1100)
committerLachlan McIlroy <lachlan@sgi.com>
Thu, 30 Oct 2008 05:53:38 +0000 (16:53 +1100)
commitf338f9036400e453ab553b16639a9cc838b02d44
tree785513701e6bbe3d7061f6f1a3ac1440fef0b178
parenta357a1215602f79182abdde27aaddc7166dbd709
[XFS] Unlock inode before calling xfs_idestroy()

Lock debugging reported the ilock was being destroyed without being
unlocked. We don't need to lock the inode until we are going to insert it
into the radix tree.

SGI-PV: 987246

SGI-Modid: xfs-linux-melb:xfs-kern:32159a

Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
fs/xfs/xfs_iget.c