linux/fs/xfs/linux-2.6
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-04-29 15:54:02 +10:00
2008-12-04 15:39:20 +11:00
2008-12-04 15:39:20 +11:00
2008-12-01 11:37:06 +11:00
2007-10-22 08:13:20 -07:00
2008-12-04 13:07:29 +11:00
2008-10-30 18:27:48 +11:00
2008-12-04 15:39:21 +11:00
2008-08-13 16:48:12 +10:00
2008-12-01 11:36:59 +11:00
2008-04-29 16:08:14 +10:00
2008-12-01 11:07:37 +11:00
2008-10-30 16:55:03 +11:00
2008-12-01 11:37:06 +11:00
2008-12-01 11:36:59 +11:00