summaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_buf.h
diff options
context:
space:
mode:
authorChristoph Hellwig2009-03-03 20:48:35 +0100
committerFelix Blyakher2009-03-07 00:34:59 +0100
commit7d46be4a25fdfb503c20bad60a618adebfe2ac5c (patch)
treef2c5eda4725789eef643b931867b1fd6ad6bde70 /fs/xfs/linux-2.6/xfs_buf.h
parentxfs: prevent kernel crash due to corrupted inode log format (diff)
downloadkernel-qcow2-linux-7d46be4a25fdfb503c20bad60a618adebfe2ac5c.tar.gz
kernel-qcow2-linux-7d46be4a25fdfb503c20bad60a618adebfe2ac5c.tar.xz
kernel-qcow2-linux-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/xfs_buf.h')
0 files changed, 0 insertions, 0 deletions