diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-08-03 12:22:12 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-08-03 12:22:12 +1000 |
commit | 973b83194bf12f7e315aace57ae2096ff7b82360 (patch) | |
tree | 108b1c595c1f83d42491c60db077df15028b2333 /fs/xfs/libxfs/xfs_bmap_btree.c | |
parent | 1c0607ace9bd639d22ad1bd453ffeb7d55913f88 (diff) | |
download | linux-973b83194bf12f7e315aace57ae2096ff7b82360.tar.gz linux-973b83194bf12f7e315aace57ae2096ff7b82360.tar.bz2 linux-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_bmap_btree.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_bmap_btree.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/xfs/libxfs/xfs_bmap_btree.c b/fs/xfs/libxfs/xfs_bmap_btree.c index 9e34ca413e53..cd85274e810c 100644 --- a/fs/xfs/libxfs/xfs_bmap_btree.c +++ b/fs/xfs/libxfs/xfs_bmap_btree.c @@ -763,10 +763,6 @@ static const struct xfs_btree_ops xfs_bmbt_ops = { .keys_inorder = xfs_bmbt_keys_inorder, .recs_inorder = xfs_bmbt_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, }; /* |