diff options
author | wuchi <wuchi.zero@gmail.com> | 2022-06-07 21:35:56 +0800 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-06-16 19:58:21 -0700 |
commit | c0af32fdc625c0e7f03465a813b04cbfb5419a1e (patch) | |
tree | b771c5d32d454ebdb3ba161b2871497117885b3c /include/uapi/linux/swab.h | |
parent | 9776e3861e0e30330f6c8ca9c30348f336d24b1c (diff) |
lib/btree: simplify btree_{lookup|update}
btree_{lookup|update} both need to look up node by key, using the common
parts(add function btree_lookup_node) to simplify code.
Link: https://lkml.kernel.org/r/20220607133556.34732-1-wuchi.zero@gmail.com
Signed-off-by: wuchi <wuchi.zero@gmail.com>
Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/uapi/linux/swab.h')
0 files changed, 0 insertions, 0 deletions