From 7a716b76b5963dc2d158883f4497bab221932412 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Fri, 9 Feb 2024 21:30:46 -0500 Subject: Update bcachefs sources to bee7b5a4fa21 bcachefs: Pin btree cache in ram for random access in fsck Signed-off-by: Kent Overstreet --- include/linux/sort.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/linux/sort.h') diff --git a/include/linux/sort.h b/include/linux/sort.h index afea0445..17c6ba34 100644 --- a/include/linux/sort.h +++ b/include/linux/sort.h @@ -2,6 +2,12 @@ #define _LINUX_SORT_H #include +#include + +void sort_r(void *base, size_t num, size_t size, + cmp_r_func_t cmp_func, + swap_r_func_t swap_func, + const void *priv); static inline void sort(void *base, size_t num, size_t size, int (*cmp_func)(const void *, const void *), -- cgit v1.2.3