kernel-fxtec-pro1x/fs/xfs
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
..
linux-2.6 xfs: simplify inode to transaction joining 2010-07-26 13:16:36 -05:00
quota xfs: simplify inode to transaction joining 2010-07-26 13:16:36 -05:00
support xfs: drop dmapi hooks 2010-07-26 13:16:33 -05:00
Kconfig
Makefile xfs: simplify log item descriptor tracking 2010-07-26 13:16:34 -05:00
xfs.h
xfs_acl.h xfs: constify xattr_handler 2010-05-21 18:31:19 -04:00
xfs_ag.h xfs: fix access to upper inodes without inode64 2010-05-28 15:19:56 -05:00
xfs_alloc.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_alloc.h xfs: Improve scalability of busy extent tracking 2010-05-24 10:34:00 -05:00
xfs_alloc_btree.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_alloc_btree.h
xfs_arch.h
xfs_attr.c xfs: simplify inode to transaction joining 2010-07-26 13:16:36 -05:00
xfs_attr.h
xfs_attr_leaf.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_attr_leaf.h
xfs_attr_sf.h
xfs_bit.c
xfs_bit.h
xfs_bmap.c xfs: simplify inode to transaction joining 2010-07-26 13:16:36 -05:00
xfs_bmap.h
xfs_bmap_btree.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_bmap_btree.h
xfs_btree.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_btree.h
xfs_btree_trace.c
xfs_btree_trace.h
xfs_buf_item.c xfs: simplify buffer pinning 2010-07-26 13:16:36 -05:00
xfs_buf_item.h xfs: give li_cb callbacks the correct prototype 2010-07-26 13:16:35 -05:00
xfs_da_btree.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_da_btree.h
xfs_dfrag.c xfs: simplify inode to transaction joining 2010-07-26 13:16:36 -05:00
xfs_dfrag.h
xfs_dinode.h
xfs_dir2.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_dir2.h
xfs_dir2_block.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_dir2_block.h
xfs_dir2_data.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_dir2_data.h
xfs_dir2_leaf.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_dir2_leaf.h
xfs_dir2_node.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_dir2_node.h
xfs_dir2_sf.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_dir2_sf.h
xfs_error.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_error.h xfs: add const qualifiers to xfs error function args 2010-05-19 09:58:11 -05:00
xfs_extfree_item.c xfs: give xfs_item_ops methods the correct prototypes 2010-07-26 13:16:35 -05:00
xfs_extfree_item.h
xfs_filestream.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_filestream.h
xfs_fs.h
xfs_fsops.c xfs: simplify inode to transaction joining 2010-07-26 13:16:36 -05:00
xfs_fsops.h
xfs_ialloc.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_ialloc.h
xfs_ialloc_btree.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_ialloc_btree.h
xfs_iget.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_inode.c xfs: simplify inode to transaction joining 2010-07-26 13:16:36 -05:00
xfs_inode.h xfs: remove block number from inode lookup code 2010-06-24 11:35:17 +10:00
xfs_inode_item.c xfs: simplify inode to transaction joining 2010-07-26 13:16:36 -05:00
xfs_inode_item.h xfs: simplify inode to transaction joining 2010-07-26 13:16:36 -05:00
xfs_inum.h
xfs_iomap.c xfs: simplify inode to transaction joining 2010-07-26 13:16:36 -05:00
xfs_iomap.h xfs: mark xfs_iomap_write_ helpers static 2010-05-19 09:58:20 -05:00
xfs_itable.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_itable.h xfs: remove block number from inode lookup code 2010-06-24 11:35:17 +10:00
xfs_log.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_log.h xfs: Ensure inode allocation buffers are fully replayed 2010-05-24 10:41:22 -05:00
xfs_log_cil.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_log_priv.h xfs: enable background pushing of the CIL 2010-05-24 10:38:20 -05:00
xfs_log_recover.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_log_recover.h xfs: Clean up XFS_BLI_* flag namespace 2010-05-24 10:33:39 -05:00
xfs_mount.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_mount.h xfs: drop dmapi hooks 2010-07-26 13:16:33 -05:00
xfs_mru_cache.c
xfs_mru_cache.h
xfs_quota.h xfs: removed unused XFS_QMOPT_ flags 2010-05-19 09:58:15 -05:00
xfs_refcache.h
xfs_rename.c xfs: simplify inode to transaction joining 2010-07-26 13:16:36 -05:00
xfs_rtalloc.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_rtalloc.h xfs: be more explicit if RT mount fails due to config 2010-05-28 14:58:24 -05:00
xfs_rw.c xfs: remove unneeded #include statements 2010-07-26 13:16:33 -05:00
xfs_rw.h
xfs_sb.h
xfs_trans.c xfs: simplify inode to transaction joining 2010-07-26 13:16:36 -05:00
xfs_trans.h xfs: simplify inode to transaction joining 2010-07-26 13:16:36 -05:00
xfs_trans_ail.c xfs: drop dmapi hooks 2010-07-26 13:16:33 -05:00
xfs_trans_buf.c xfs: give li_cb callbacks the correct prototype 2010-07-26 13:16:35 -05:00
xfs_trans_extfree.c xfs: simplify log item descriptor tracking 2010-07-26 13:16:34 -05:00
xfs_trans_inode.c xfs: simplify inode to transaction joining 2010-07-26 13:16:36 -05:00
xfs_trans_priv.h xfs: simplify log item descriptor tracking 2010-07-26 13:16:34 -05:00
xfs_trans_space.h
xfs_types.h xfs: make the log ticket ID available outside the log infrastructure 2010-05-24 10:33:52 -05:00
xfs_utils.c xfs: simplify inode to transaction joining 2010-07-26 13:16:36 -05:00
xfs_utils.h
xfs_vnodeops.c xfs: simplify inode to transaction joining 2010-07-26 13:16:36 -05:00
xfs_vnodeops.h