diff options
author | Christoph Hellwig <hch@infradead.org> | 2008-10-30 01:58:11 -0400 |
---|---|---|
committer | Lachlan McIlroy <lachlan@sgi.com> | 2008-10-30 01:58:11 -0400 |
commit | 8cc938fe4237e50bea4aa557ed53b06de2319d49 (patch) | |
tree | 1b9dd352d423a573d96d5b1b311286a39232ef5b /fs/xfs/xfs_ialloc_btree.h | |
parent | 91cca5df9bc85efdabfa645f51d54259ed09f4bf (diff) |
[XFS] implement generic xfs_btree_get_rec
Not really much reason to make it generic given that it's so small, but
this is the last non-method in xfs_alloc_btree.c and xfs_ialloc_btree.c,
so it makes the whole btree implementation more structured.
SGI-PV: 985583
SGI-Modid: xfs-linux-melb:xfs-kern:32206a
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>
Diffstat (limited to 'fs/xfs/xfs_ialloc_btree.h')
-rw-r--r-- | fs/xfs/xfs_ialloc_btree.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/xfs/xfs_ialloc_btree.h b/fs/xfs/xfs_ialloc_btree.h index 3eff3b6e5fa4..ff7406b4bac3 100644 --- a/fs/xfs/xfs_ialloc_btree.h +++ b/fs/xfs/xfs_ialloc_btree.h | |||
@@ -116,13 +116,6 @@ typedef struct xfs_btree_sblock xfs_inobt_block_t; | |||
116 | (XFS_BTREE_PTR_ADDR(xfs_inobt, bb, \ | 116 | (XFS_BTREE_PTR_ADDR(xfs_inobt, bb, \ |
117 | i, XFS_INOBT_BLOCK_MAXRECS(1, cur))) | 117 | i, XFS_INOBT_BLOCK_MAXRECS(1, cur))) |
118 | 118 | ||
119 | /* | ||
120 | * Get the data from the pointed-to record. | ||
121 | */ | ||
122 | extern int xfs_inobt_get_rec(struct xfs_btree_cur *cur, xfs_agino_t *ino, | ||
123 | __int32_t *fcnt, xfs_inofree_t *free, int *stat); | ||
124 | |||
125 | |||
126 | extern struct xfs_btree_cur *xfs_inobt_init_cursor(struct xfs_mount *, | 119 | extern struct xfs_btree_cur *xfs_inobt_init_cursor(struct xfs_mount *, |
127 | struct xfs_trans *, struct xfs_buf *, xfs_agnumber_t); | 120 | struct xfs_trans *, struct xfs_buf *, xfs_agnumber_t); |
128 | 121 | ||