linux/fs/xfs/quota
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
..
xfs_dquot_item.c xfs: give xfs_item_ops methods the correct prototypes 2010-07-26 13:16:35 -05:00
xfs_dquot_item.h xfs: Don't issue buffer IO direct from AIL push V2 2010-02-02 10:13:42 +11:00
xfs_dquot.c xfs: simplify inode to transaction joining 2010-07-26 13:16:36 -05:00
xfs_dquot.h xfs: remove xfs_dqmarker 2010-05-19 09:58:11 -05:00
xfs_qm_bhv.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_qm_stats.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_qm_stats.h [XFS] Replace __inline with inline 2008-04-18 11:51:15 +10:00
xfs_qm_syscalls.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_qm.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_qm.h xfs: convert the dquot free list to use list heads 2010-05-19 09:58:11 -05:00
xfs_quota_priv.h xfs: remove a few macro indirections in the quota code 2010-05-19 09:58:15 -05:00
xfs_trans_dquot.c xfs: simplify log item descriptor tracking 2010-07-26 13:16:34 -05:00