linux/fs/xfs
Christoph Hellwig 561f7d1739 [XFS] split up xfs_btree_init_cursor
xfs_btree_init_cursor contains close to little shared code for the
different btrees and will get even more non-common code in the future.
Split it up into one routine per btree type.

Because xfs_btree_dup_cursor needs to call the init routine for a generic
btree cursor add a new btree operation vector that contains a dup_cursor
method that initializes a new cursor based on an existing one.

The btree operations vector is based on an idea and code from Dave Chinner
and will grow more entries later during this series.

SGI-PV: 985583

SGI-Modid: xfs-linux-melb:xfs-kern:32176a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Bill O'Donnell <billodo@sgi.com>
Signed-off-by: David Chinner <david@fromorbit.com>
2008-10-30 16:53:59 +11:00
..
linux-2.6 [XFS] Remove kmem_zone_t argument from xfs_inode_init_once() 2008-10-30 16:42:34 +11:00
quota
support
Kconfig
Makefile
xfs_acl.c
xfs_acl.h
xfs_ag.h
xfs_alloc_btree.c [XFS] split up xfs_btree_init_cursor 2008-10-30 16:53:59 +11:00
xfs_alloc_btree.h [XFS] split up xfs_btree_init_cursor 2008-10-30 16:53:59 +11:00
xfs_alloc.c [XFS] split up xfs_btree_init_cursor 2008-10-30 16:53:59 +11:00
xfs_alloc.h
xfs_arch.h
xfs_attr_leaf.c
xfs_attr_leaf.h
xfs_attr_sf.h
xfs_attr.c
xfs_attr.h
xfs_bit.c
xfs_bit.h
xfs_bmap_btree.c [XFS] split up xfs_btree_init_cursor 2008-10-30 16:53:59 +11:00
xfs_bmap_btree.h [XFS] split up xfs_btree_init_cursor 2008-10-30 16:53:59 +11:00
xfs_bmap.c [XFS] split up xfs_btree_init_cursor 2008-10-30 16:53:59 +11:00
xfs_bmap.h
xfs_btree.c [XFS] split up xfs_btree_init_cursor 2008-10-30 16:53:59 +11:00
xfs_btree.h [XFS] split up xfs_btree_init_cursor 2008-10-30 16:53:59 +11:00
xfs_buf_item.c
xfs_buf_item.h
xfs_clnt.h
xfs_da_btree.c
xfs_da_btree.h [XFS] Remove final remnants of dirv1 macros and other stuff 2008-10-30 16:52:35 +11:00
xfs_dfrag.c
xfs_dfrag.h
xfs_dinode.h
xfs_dir2_block.c
xfs_dir2_block.h
xfs_dir2_data.c
xfs_dir2_data.h
xfs_dir2_leaf.c
xfs_dir2_leaf.h
xfs_dir2_node.c
xfs_dir2_node.h
xfs_dir2_sf.c
xfs_dir2_sf.h
xfs_dir2_trace.c
xfs_dir2_trace.h
xfs_dir2.c
xfs_dir2.h
xfs_dmapi.h
xfs_dmops.c
xfs_error.c
xfs_error.h
xfs_extfree_item.c
xfs_extfree_item.h
xfs_filestream.c
xfs_filestream.h
xfs_fs.h
xfs_fsops.c
xfs_fsops.h
xfs_ialloc_btree.c [XFS] split up xfs_btree_init_cursor 2008-10-30 16:53:59 +11:00
xfs_ialloc_btree.h [XFS] split up xfs_btree_init_cursor 2008-10-30 16:53:59 +11:00
xfs_ialloc.c [XFS] split up xfs_btree_init_cursor 2008-10-30 16:53:59 +11:00
xfs_ialloc.h
xfs_iget.c [XFS] Unlock inode before calling xfs_idestroy() 2008-10-30 16:53:38 +11:00
xfs_imap.h
xfs_inode_item.c
xfs_inode_item.h
xfs_inode.c [XFS] Use xfs_idestroy() to cleanup an inode. 2008-10-30 16:50:35 +11:00
xfs_inode.h [XFS] Make use of the init-once slab optimisation. 2008-10-30 16:11:59 +11:00
xfs_inum.h
xfs_iomap.c
xfs_iomap.h
xfs_itable.c [XFS] split up xfs_btree_init_cursor 2008-10-30 16:53:59 +11:00
xfs_itable.h
xfs_log_priv.h
xfs_log_recover.c
xfs_log_recover.h
xfs_log.c
xfs_log.h
xfs_mount.c [XFS] Fix use-after-free with log and quotas 2008-10-30 16:53:25 +11:00
xfs_mount.h [XFS] Remove final remnants of dirv1 macros and other stuff 2008-10-30 16:52:35 +11:00
xfs_mru_cache.c
xfs_mru_cache.h
xfs_qmops.c
xfs_quota.h
xfs_refcache.h
xfs_rename.c
xfs_rtalloc.c
xfs_rtalloc.h
xfs_rw.c
xfs_rw.h
xfs_sb.h
xfs_trans_ail.c
xfs_trans_buf.c
xfs_trans_extfree.c
xfs_trans_inode.c
xfs_trans_item.c
xfs_trans_priv.h
xfs_trans_space.h
xfs_trans.c
xfs_trans.h
xfs_types.h
xfs_utils.c
xfs_utils.h
xfs_vfsops.c
xfs_vfsops.h
xfs_vnodeops.c
xfs_vnodeops.h
xfs.h