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-10-30 17:05:58 +11:00
2008-04-29 16:07:48 +10:00
2008-10-30 17:06:08 +11:00
2008-10-31 15:50:04 +11:00
2008-08-13 16:22:40 +10:00
2008-12-01 11:37:20 +11:00
2008-10-30 17:14:34 +11:00
2008-10-30 17:14:34 +11:00
2008-12-01 11:37:20 +11:00
2008-10-30 17:05:38 +11:00
2008-10-30 17:05:38 +11:00
2008-08-13 16:05:49 +10:00
2008-08-13 16:05:49 +10:00
2008-07-28 16:58:35 +10:00
2008-08-13 16:05:49 +10:00
2008-08-13 16:03:35 +10:00
2008-08-13 15:41:12 +10:00
2008-10-30 17:05:38 +11:00
2008-10-30 17:14:34 +11:00
2008-10-30 17:14:43 +11:00
2008-12-01 11:29:28 +11:00
2008-12-01 11:29:00 +11:00
2008-10-30 16:58:50 +11:00
2008-10-30 16:58:50 +11:00
2008-10-30 17:14:34 +11:00
2008-10-30 17:14:34 +11:00
2008-10-30 17:39:58 +11:00
2008-02-07 18:14:38 +11:00
2008-10-30 17:38:12 +11:00
2008-10-30 17:05:38 +11:00
2008-12-02 17:08:01 +11:00
2008-12-02 17:08:01 +11:00
2008-12-01 11:37:42 +11:00
2008-07-28 16:58:40 +10:00
2007-10-15 16:49:49 +10:00
2008-07-28 16:58:36 +10:00
2007-07-14 15:37:02 +10:00
2008-07-28 16:59:06 +10:00
2007-10-15 16:49:49 +10:00
2008-07-28 16:59:01 +10:00
2007-07-14 15:37:02 +10:00
2008-07-28 16:58:40 +10:00
2008-12-01 11:37:35 +11:00
2008-07-28 16:58:37 +10:00
2008-10-30 17:38:12 +11:00
2008-07-28 16:58:40 +10:00
2008-08-23 12:14:12 -07: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-10-30 17:39:58 +11:00
2008-08-13 16:51:57 +10:00
2007-07-14 15:40:53 +10:00
2008-12-02 17:08:44 +11:00
2008-12-02 17:08:01 +11:00
2008-10-30 17:14:34 +11:00
2008-10-30 17:14:34 +11:00
2008-12-01 11:38:13 +11:00
2008-12-01 11:38:03 +11:00
2008-12-04 15:39:20 +11:00
2008-12-01 11:38:08 +11:00
2008-10-30 17:05:38 +11:00
2008-12-04 15:39:20 +11:00
2008-12-04 15:39:20 +11:00
2008-07-28 16:59:10 +10:00
2008-02-07 16:44:14 +11:00
2008-12-02 17:16:03 +11:00
2008-12-02 17:16:03 +11:00
2008-12-01 11:37:25 +11:00
2008-12-01 11:38:22 +11:00
2008-12-01 11:37:25 +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-07-28 16:59:25 +10:00
2007-09-17 16:42:02 +10:00
2008-10-30 17:53:24 +11:00
2007-10-16 11:43:26 +10:00
2008-12-01 11:37:10 +11:00
2008-12-02 17:08:01 +11:00
2008-02-07 18:16:43 +11:00
2008-08-13 16:36:11 +10:00
2008-02-07 18:16:43 +11:00
2008-07-28 16:58:42 +10:00
2008-10-30 18:26:51 +11:00
2008-10-30 17:39:58 +11:00
2007-10-15 16:50:50 +10:00
2008-07-28 16:58:07 +10:00
2008-10-30 17:39:46 +11:00
2008-10-30 17:39:58 +11:00
2008-11-17 17:37:10 +11:00
2008-10-30 17:39:58 +11:00
2008-04-18 12:00:12 +10:00
2008-12-01 11:37:42 +11:00
2008-08-13 16:13:45 +10:00
2008-12-01 11:37:06 +11:00
2008-12-01 11:37:10 +11:00
2008-12-01 11:11:10 +11:00
2008-10-30 16:55:13 +11:00