]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/xfs/xfs_btree.c
[XFS] implement generic xfs_btree_lshift
authorChristoph Hellwig <hch@infradead.org>
Thu, 30 Oct 2008 05:56:53 +0000 (16:56 +1100)
committerLachlan McIlroy <lachlan@sgi.com>
Thu, 30 Oct 2008 05:56:53 +0000 (16:56 +1100)
commit687b890a184fef263ebb773926e1f4aa69240d01
treeb8f80c134ff994927225367d148ee63f4d76506b
parent9eaead51bed957af0070a277d945744a76df0c8b
[XFS] implement generic xfs_btree_lshift

Make the btree left shift code generic. Based on a patch from David
Chinner with lots of changes to follow the original btree implementations
more closely. While this loses some of the generic helper routines for
inserting/moving/removing records it also solves some of the one off bugs
in the original code and makes it easier to verify.

SGI-PV: 985583

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

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>
fs/xfs/xfs_alloc_btree.c
fs/xfs/xfs_bmap_btree.c
fs/xfs/xfs_btree.c
fs/xfs/xfs_btree.h
fs/xfs/xfs_ialloc_btree.c