Christoph Hellwig d9424b3c4a 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 <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
2008-12-04 15:39:21 +11:00
..
2008-12-04 15:39:21 +11:00
2008-12-01 11:36:46 +11:00
2008-04-29 16:07:48 +10:00
2008-10-30 17:06:08 +11:00
2008-08-13 16:22:40 +10:00
2008-12-01 11:37:20 +11:00
2008-07-28 16:58:35 +10:00
2008-12-01 11:29:28 +11:00
2008-02-07 18:14:38 +11:00
2007-10-15 16:49:49 +10:00
2007-10-15 16:49:49 +10:00
2008-12-01 11:37:35 +11:00
2008-10-30 17:53:24 +11:00
2008-08-13 16:17:37 +10:00
2008-08-13 16:17:37 +10:00
2008-12-04 15:39:20 +11:00
2008-12-04 15:39:20 +11:00
2008-12-04 15:39:20 +11:00
2008-11-17 17:37:10 +11:00
2008-12-01 11:37:35 +11:00
2008-12-04 15:39:20 +11:00
2008-10-30 17:53:24 +11:00
2008-12-01 11:37:06 +11:00
2008-10-30 16:55:13 +11:00