Christoph Hellwig
898621d5a7
xfs: simplify inode to transaction joining
...
Currently we need to either call IHOLD or xfs_trans_ihold on an inode when
joining it to a transaction via xfs_trans_ijoin.
This patches instead makes xfs_trans_ijoin usable on it's own by doing
an implicity xfs_trans_ihold, which also allows us to drop the third
argument. For the case where we want to hold a reference on the inode
a xfs_trans_ijoin_ref wrapper is added which does the IHOLD and marks
the inode for needing an xfs_iput. In addition to the cleaner interface
to the caller this also simplifies the implementation.
Signed-off-by: Christoph Hellwig <hch@lst.de >
Reviewed-by: Dave Chinner <dchinner@redhat.com >
2010-07-26 13:16:36 -05:00
..
2010-07-26 13:16:36 -05:00
2010-07-26 13:16:36 -05:00
2010-07-26 13:16:33 -05:00
2009-06-10 17:07:47 +02:00
2010-07-26 13:16:34 -05:00
2010-05-21 18:31:19 -04:00
2010-05-28 15:19:56 -05:00
2010-07-26 13:16:33 -05:00
2008-10-30 17:14:34 +11:00
2010-07-26 13:16:33 -05:00
2010-05-24 10:34:00 -05:00
2009-06-10 17:07:47 +02:00
2010-07-26 13:16:33 -05:00
2009-01-09 15:46:44 +11:00
2010-01-20 10:47:48 +11:00
2010-07-26 13:16:36 -05:00
2010-01-20 10:47:48 +11:00
2009-01-09 15:53:54 +11:00
2010-07-26 13:16:33 -05:00
2010-01-15 15:31:38 -06:00
2010-07-26 13:16:36 -05:00
2009-12-14 23:08:16 -06:00
2008-10-30 16:58:50 +11:00
2009-12-14 23:08:16 -06:00
2010-07-26 13:16:33 -05:00
2009-08-31 14:46:20 -05:00
2010-07-26 13:16:36 -05:00
2010-07-26 13:16:35 -05:00
2010-07-26 13:16:33 -05:00
2010-01-20 10:47:17 +11:00
2010-07-26 13:16:36 -05:00
2010-01-15 15:31:23 -06:00
2009-03-29 09:51:14 +02:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:33 -05:00
2009-03-29 09:55:42 +02:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:33 -05:00
2010-01-15 15:31:38 -06:00
2010-07-26 13:16:33 -05:00
2008-12-01 11:37:35 +11:00
2010-07-26 13:16:33 -05:00
2010-01-20 10:47:25 +11:00
2010-07-26 13:16:33 -05:00
2010-05-19 09:58:11 -05:00
2010-07-26 13:16:35 -05:00
2009-01-22 14:07:31 +11:00
2010-07-26 13:16:33 -05:00
2010-01-15 15:34:22 -06:00
2010-03-05 11:02:07 -06:00
2010-07-26 13:16:36 -05:00
2009-01-09 16:54:42 -08:00
2010-07-26 13:16:33 -05:00
2009-02-09 08:37:14 +01:00
2010-07-26 13:16:33 -05:00
2009-09-01 12:45:39 -05:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:36 -05:00
2010-07-26 13:16:36 -05:00
2010-07-26 13:16:36 -05:00
2010-06-24 11:35:17 +10:00
2009-08-31 14:46:22 -05:00
2010-07-26 13:16:36 -05:00
2010-05-19 09:58:20 -05:00
2010-07-26 13:16:33 -05:00
2010-06-24 11:35:17 +10:00
2010-07-26 13:16:33 -05:00
2010-05-24 10:38:20 -05:00
2010-07-26 13:16:33 -05:00
2010-05-24 10:33:39 -05:00
2010-07-26 13:16:33 -05:00
2010-05-24 10:41:22 -05:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:33 -05:00
2010-01-15 15:34:22 -06:00
2010-01-15 15:34:22 -06:00
2010-05-19 09:58:15 -05:00
2010-07-26 13:16:36 -05:00
2010-07-26 13:16:33 -05:00
2010-05-28 14:58:24 -05:00
2010-07-26 13:16:33 -05:00
2010-02-12 13:43:57 -06:00
2009-01-19 14:45:55 +11:00
2010-07-26 13:16:33 -05:00
2010-07-26 13:16:35 -05:00
2010-07-26 13:16:34 -05:00
2010-07-26 13:16:36 -05:00
2010-07-26 13:16:34 -05:00
2009-02-09 08:37:14 +01:00
2010-07-26 13:16:36 -05:00
2010-07-26 13:16:36 -05:00
2010-05-24 10:33:52 -05:00
2010-07-26 13:16:36 -05:00
2010-07-26 13:16:36 -05:00
2010-03-01 16:35:44 -06:00
2009-12-14 23:08:16 -06:00