xfs: remove the get*keys and update_keys btree ops pointers
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 3 Aug 2016 02:22:12 +0000 (12:22 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 3 Aug 2016 02:22:12 +0000 (12:22 +1000)
commit973b83194bf12f7e315aace57ae2096ff7b82360
tree108b1c595c1f83d42491c60db077df15028b2333
parent1c0607ace9bd639d22ad1bd453ffeb7d55913f88
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>
fs/xfs/libxfs/xfs_alloc_btree.c
fs/xfs/libxfs/xfs_bmap_btree.c
fs/xfs/libxfs/xfs_btree.c
fs/xfs/libxfs/xfs_btree.h
fs/xfs/libxfs/xfs_ialloc_btree.c
fs/xfs/libxfs/xfs_rmap_btree.c