diff options
author | Christoph Hellwig <hch@infradead.org> | 2009-03-03 20:48:35 +0100 |
---|---|---|
committer | Felix Blyakher <felixb@sgi.com> | 2009-03-07 00:34:59 +0100 |
commit | 7d46be4a25fdfb503c20bad60a618adebfe2ac5c (patch) | |
tree | f2c5eda4725789eef643b931867b1fd6ad6bde70 /fs/xfs/xfs_dir2_trace.c | |
parent | xfs: prevent kernel crash due to corrupted inode log format (diff) | |
download | linux-7d46be4a25fdfb503c20bad60a618adebfe2ac5c.tar.xz 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/xfs_dir2_trace.c')
0 files changed, 0 insertions, 0 deletions