]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/xfs/xfs_alloc_btree.c
[XFS] implement generic xfs_btree_delete/delrec
authorChristoph Hellwig <hch@infradead.org>
Thu, 30 Oct 2008 05:58:01 +0000 (16:58 +1100)
committerLachlan McIlroy <lachlan@sgi.com>
Thu, 30 Oct 2008 05:58:01 +0000 (16:58 +1100)
commit91cca5df9bc85efdabfa645f51d54259ed09f4bf
tree29032361e21d1210effb72f4018f2a202d6a9fb0
parentd4b3a4b7dd62f2e111d4d0afa9ef3f9b6cd955c0
[XFS] implement generic xfs_btree_delete/delrec

Make the btree delete 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:32205a

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