]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remove the get*keys and update_keys btree ops pointers
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 10 Aug 2016 04:52:41 +0000 (14:52 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 10 Aug 2016 04:52:41 +0000 (14:52 +1000)
commit64dbe0479bb6f1a51ed627671ca96c4feaa07ebf
treea1cec8275e410c9081255b11ddb047729c385568
parent2fc5f0e8527676885b77a8773d09785db700e201
xfs: remove the get*keys and update_keys btree ops pointers

Source kernel commit: 973b83194bf12f7e315aace57ae2096ff7b82360

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>
libxfs/xfs_alloc_btree.c
libxfs/xfs_bmap_btree.c
libxfs/xfs_btree.c
libxfs/xfs_btree.h
libxfs/xfs_ialloc_btree.c
libxfs/xfs_rmap_btree.c