From: Christoph Hellwig Date: Tue, 3 Mar 2009 19:48:35 +0000 (-0500) Subject: xfs: prevent lockdep false positive in xfs_iget_cache_miss X-Git-Tag: v2.6.29-rc8~23^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d46be4a25fdfb503c20bad60a618adebfe2ac5c;p=pandora-kernel.git 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 Reported-by: Alexander Beregalov Reviewed-by: Eric Sandeen Reviewed-by: Felix Blyakher Signed-off-by: Felix Blyakher --- Reading git-diff-tree failed