mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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>
This commit is contained in:
parent
1c0607ace9
commit
973b83194b
6 changed files with 60 additions and 135 deletions
|
@ -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,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue