aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2009-03-03 14:48:35 -0500
committerFelix Blyakher <felixb@sgi.com>2009-03-06 17:34:59 -0600
commit7d46be4a25fdfb503c20bad60a618adebfe2ac5c (patch)
treef2c5eda4725789eef643b931867b1fd6ad6bde70 /fs/xfs/linux-2.6
parentxfs: prevent kernel crash due to corrupted inode log format (diff)
downloadlinux-dev-7d46be4a25fdfb503c20bad60a618adebfe2ac5c.tar.xz
linux-dev-7d46be4a25fdfb503c20bad60a618adebfe2ac5c.zip
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/linux-2.6')
0 files changed, 0 insertions, 0 deletions