[XFS] Can't lock inodes in radix tree preload region
authorDavid Chinner <david@fromorbit.com>
Thu, 30 Oct 2008 06:55:27 +0000 (17:55 +1100)
committerLachlan McIlroy <lachlan@sgi.com>
Thu, 30 Oct 2008 06:55:27 +0000 (17:55 +1100)
commit56e73ec47d749047f441e6b9d60d964535d31c3b
tree73423b4b01d760f95c5dcf1cff38ba4b56f6c969
parent2b7035fd7473c799ca3372092d72c768c7db329d
[XFS] Can't lock inodes in radix tree preload region

When we are inside a radix tree preload region, we cannot sleep. Recently
we moved the inode locking inside the preload region for the inode radix
tree. Fix that, and fix a missed unlock in another error path in the same
code at the same time.

SGI-PV: 987246

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

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