diff options
author | Peter Zijlstra <[email protected]> | 2020-04-29 17:04:41 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2021-02-17 14:07:44 +0100 |
commit | 8ecca39483ed4e4e97096d0d6f8e25fdd323b189 (patch) | |
tree | a1924333a7fd19f7afa41b34d9ba96d08ee96299 /fs/jbd2/commit.c | |
parent | bf9be9a163b464aa90f60af13b336da2db8b2ea1 (diff) |
rbtree, sched/deadline: Use rb_add_cached()
Reduce rbtree boiler plate by using the new helpers.
Make rb_add_cached() / rb_erase_cached() return a pointer to the
leftmost node to aid in updating additional state.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Davidlohr Bueso <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions