From: Christoph Hellwig Date: Wed, 3 Dec 2008 11:20:27 +0000 (+0100) Subject: stop using igrab in xfs_vn_link X-Git-Tag: v2.6.29-rc1~552^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9424b3c4a1e96f87c6cfd4d8dd2f8d9bbb4dcc5;p=pandora-kernel.git stop using igrab in xfs_vn_link ->link is guranteed to get an already reference inode passed so we can do a simple increment of i_count instead of using igrab and thus avoid banging on the global inode_lock. This is what most filesystems already do. Also move the increment after the call to xfs_link to simplify error handling. Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner Signed-off-by: Niv Sardi --- Reading git-diff-tree failed