summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_btree.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2009-03-03 14:48:35 -0500
committerFelix Blyakher <felixb@sgi.com>2009-03-04 07:31:48 -0600
commited93ec3907f063268ced18728d0653f6199d100c (patch)
treee9e15deaec2c4609c2097da4064beef4c6341f3e /fs/xfs/xfs_btree.c
parente8fa6b483feebd23ded5eb01afd7a6e82b6078c6 (diff)
downloadop-kernel-dev-ed93ec3907f063268ced18728d0653f6199d100c.zip
op-kernel-dev-ed93ec3907f063268ced18728d0653f6199d100c.tar.gz
xfs: prevent lockdep false positive in xfs_iget_cache_miss
The inode can't be locked by anyone else as we just created it a few lines above and it's not been added to any lookup data structure yet. So use a trylock that must succeed to get around the lockdep warnings. Signed-off-by: Christoph Hellwig <hch@lst.de> Reported-by: Alexander Beregalov <a.beregalov@gmail.com> Reviewed-by: Eric Sandeen <sandeen@sandeen.net> Reviewed-by: Felix Blyakher <felixb@sgi.com> Signed-off-by: Felix Blyakher <felixb@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_btree.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud