summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_btree.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2008-10-30 16:58:21 +1100
committerLachlan McIlroy <lachlan@sgi.com>2008-10-30 16:58:21 +1100
commitfd6bcc5b63051392ba709a8fd33173b263669e0a (patch)
treefe3898818a9c8e09011a98de8d1caa9e98ae2479 /fs/xfs/xfs_btree.h
parent8cc938fe4237e50bea4aa557ed53b06de2319d49 (diff)
downloadlinux-fd6bcc5b63051392ba709a8fd33173b263669e0a.tar.gz
linux-fd6bcc5b63051392ba709a8fd33173b263669e0a.tar.bz2
linux-fd6bcc5b63051392ba709a8fd33173b263669e0a.zip
[XFS] kill xfs_bmbt_log_block and xfs_bmbt_log_recs
These are equivalent to the xfs_btree_* versions, and the only remaining caller can be switched to the generic one after they are exported. Also remove some now dead infrastructure in xfs_bmap_btree.c. SGI-PV: 985583 SGI-Modid: xfs-linux-melb:xfs-kern:32207a 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_btree.h')
-rw-r--r--fs/xfs/xfs_btree.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/xfs/xfs_btree.h b/fs/xfs/xfs_btree.h
index cee3684d871e..d6cc71e31de5 100644
--- a/fs/xfs/xfs_btree.h
+++ b/fs/xfs/xfs_btree.h
@@ -570,6 +570,12 @@ int xfs_btree_delete(struct xfs_btree_cur *, int *);
int xfs_btree_get_rec(struct xfs_btree_cur *, union xfs_btree_rec **, int *);
/*
+ * Internal btree helpers also used by xfs_bmap.c.
+ */
+void xfs_btree_log_block(struct xfs_btree_cur *, struct xfs_buf *, int);
+void xfs_btree_log_recs(struct xfs_btree_cur *, struct xfs_buf *, int, int);
+
+/*
* Helpers.
*/
static inline int xfs_btree_get_numrecs(struct xfs_btree_block *block)