diff options
author | Christoph Hellwig <[email protected]> | 2009-03-03 14:48:35 -0500 |
---|---|---|
committer | Felix Blyakher <[email protected]> | 2009-03-06 17:34:59 -0600 |
commit | 7d46be4a25fdfb503c20bad60a618adebfe2ac5c (patch) | |
tree | f2c5eda4725789eef643b931867b1fd6ad6bde70 /lib/string_helpers.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 <[email protected]>
Reported-by: Alexander Beregalov <[email protected]>
Reviewed-by: Eric Sandeen <[email protected]>
Reviewed-by: Felix Blyakher <[email protected]>
Signed-off-by: Felix Blyakher <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions