kernel-fxtec-pro1x/fs/xfs
Christoph Hellwig b524bfeee2 [XFS] refactor xfs_btree_readahead
From: Dave Chinner <dgc@sgi.com>

Refactor xfs_btree_readahead to make it more readable:

(a) remove the inline xfs_btree_readahead wrapper and move all checks out

of line into the main routine.

(b) factor out helpers for short/long form btrees

(c) move check for root in inodes from the callers into
xfs_btree_readahead

[hch: split out from a big patch and minor cleanups]

SGI-PV: 985583

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

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:54:43 +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.h
xfs_acl.c
xfs_acl.h
xfs_ag.h
xfs_alloc.c [XFS] split up xfs_btree_init_cursor 2008-10-30 16:53:59 +11:00
xfs_alloc.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_arch.h
xfs_attr.c
xfs_attr.h
xfs_attr_leaf.c
xfs_attr_leaf.h
xfs_attr_sf.h
xfs_bit.c
xfs_bit.h
xfs_bmap.c [XFS] split up xfs_btree_init_cursor 2008-10-30 16:53:59 +11:00
xfs_bmap.h
xfs_bmap_btree.c [XFS] refactor xfs_btree_readahead 2008-10-30 16:54:43 +11:00
xfs_bmap_btree.h [XFS] split up xfs_btree_init_cursor 2008-10-30 16:53:59 +11:00
xfs_btree.c [XFS] refactor xfs_btree_readahead 2008-10-30 16:54:43 +11:00
xfs_btree.h [XFS] refactor xfs_btree_readahead 2008-10-30 16:54:43 +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.c
xfs_dir2.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_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.c [XFS] split up xfs_btree_init_cursor 2008-10-30 16:53:59 +11:00
xfs_ialloc.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_iget.c [XFS] Unlock inode before calling xfs_idestroy() 2008-10-30 16:53:38 +11:00
xfs_imap.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_inode_item.c
xfs_inode_item.h
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.c Fix barrier fail detection in XFS 2008-10-10 11:08:07 -07:00
xfs_log.h
xfs_log_priv.h
xfs_log_recover.c
xfs_log_recover.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.c
xfs_trans.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_types.h
xfs_utils.c
xfs_utils.h
xfs_vfsops.c
xfs_vfsops.h
xfs_vnodeops.c
xfs_vnodeops.h