aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_alloc_btree.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2016-08-03 12:22:12 +1000
committerDave Chinner <david@fromorbit.com>2016-08-03 12:22:12 +1000
commit973b83194bf12f7e315aace57ae2096ff7b82360 (patch)
tree108b1c595c1f83d42491c60db077df15028b2333 /fs/xfs/libxfs/xfs_alloc_btree.c
parentxfs: enable the rmap btree functionality (diff)
downloadlinux-dev-973b83194bf12f7e315aace57ae2096ff7b82360.tar.xz
linux-dev-973b83194bf12f7e315aace57ae2096ff7b82360.zip
xfs: remove the get*keys and update_keys btree ops pointers
These are internal btree functions; we don't need them to be dispatched via function pointers. Make them static again and just check the overlapped flag to figure out what we need to do. The strategy behind this patch was suggested by Christoph. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Suggested-by: Christoph Hellwig <hch@infradead.org> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_alloc_btree.c')
-rw-r--r--fs/xfs/libxfs/xfs_alloc_btree.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/xfs/libxfs/xfs_alloc_btree.c b/fs/xfs/libxfs/xfs_alloc_btree.c
index c60eeb826b9d..5ba2dac5e67c 100644
--- a/fs/xfs/libxfs/xfs_alloc_btree.c
+++ b/fs/xfs/libxfs/xfs_alloc_btree.c
@@ -403,10 +403,6 @@ static const struct xfs_btree_ops xfs_allocbt_ops = {
.keys_inorder = xfs_allocbt_keys_inorder,
.recs_inorder = xfs_allocbt_recs_inorder,
#endif
-
- .get_leaf_keys = xfs_btree_get_leaf_keys,
- .get_node_keys = xfs_btree_get_node_keys,
- .update_keys = xfs_btree_update_keys,
};
/*