diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-08-03 02:22:12 (GMT) |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-08-03 02:22:12 (GMT) |
commit | 973b83194bf12f7e315aace57ae2096ff7b82360 (patch) | |
tree | 108b1c595c1f83d42491c60db077df15028b2333 /fs/xfs/libxfs/xfs_rmap_btree.c | |
parent | 1c0607ace9bd639d22ad1bd453ffeb7d55913f88 (diff) | |
download | linux-973b83194bf12f7e315aace57ae2096ff7b82360.tar.xz |
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_rmap_btree.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_rmap_btree.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/xfs/libxfs/xfs_rmap_btree.c b/fs/xfs/libxfs/xfs_rmap_btree.c index 232450c..bc1faeb 100644 --- a/fs/xfs/libxfs/xfs_rmap_btree.c +++ b/fs/xfs/libxfs/xfs_rmap_btree.c @@ -453,10 +453,6 @@ static const struct xfs_btree_ops xfs_rmapbt_ops = { .keys_inorder = xfs_rmapbt_keys_inorder, .recs_inorder = xfs_rmapbt_recs_inorder, #endif - - .get_leaf_keys = xfs_btree_get_leaf_keys_overlapped, - .get_node_keys = xfs_btree_get_node_keys_overlapped, - .update_keys = xfs_btree_update_keys_overlapped, }; /* |