diff options
author | Christoph Hellwig <hch@infradead.org> | 2009-03-03 14:48:35 -0500 |
---|---|---|
committer | Felix Blyakher <felixb@sgi.com> | 2009-03-06 17:34:59 -0600 |
commit | 7d46be4a25fdfb503c20bad60a618adebfe2ac5c (patch) | |
tree | f2c5eda4725789eef643b931867b1fd6ad6bde70 /block/blk-tag.c | |
parent | ff392c497b43ddedbab5627b53928a654cc5486e (diff) |
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 'block/blk-tag.c')
0 files changed, 0 insertions, 0 deletions