[XFS] implement generic xfs_btree_decrement
From: Dave Chinner <dgc@sgi.com> [hch: split out from bigger patch and minor adaptions] SGI-PV: 985583 SGI-Modid: xfs-linux-melb:xfs-kern:32191a 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>
This commit is contained in:

committed by
Lachlan McIlroy

parent
637aa50f46
commit
8df4da4a0a
@@ -116,12 +116,6 @@ typedef struct xfs_btree_sblock xfs_inobt_block_t;
|
||||
(XFS_BTREE_PTR_ADDR(xfs_inobt, bb, \
|
||||
i, XFS_INOBT_BLOCK_MAXRECS(1, cur)))
|
||||
|
||||
/*
|
||||
* Decrement cursor by one record at the level.
|
||||
* For nonzero levels the leaf-ward information is untouched.
|
||||
*/
|
||||
extern int xfs_inobt_decrement(struct xfs_btree_cur *cur, int level, int *stat);
|
||||
|
||||
/*
|
||||
* Delete the record pointed to by cur.
|
||||
* The cursor refers to the place where the record was (could be inserted)
|
||||
|
Reference in New Issue
Block a user