diff options
author | Josef Bacik <josef@toxicpanda.com> | 2022-09-09 17:53:37 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-09-26 12:28:04 +0200 |
commit | e63b81aef26ba07849a3090befde12f2653aa6a8 (patch) | |
tree | 7e92932db036fdf8ce1d09f4f456b477455e32d8 /fs/btrfs/extent-io-tree.h | |
parent | 43b068cad58f2ae9cfb929a0f313499f70c16521 (diff) |
btrfs: use next_state/prev_state in merge_state
We use rb_next/rb_prev and then get the entry for the adjacent items in
an extent io tree. We have helpers for this, so convert merge_state to
use next_state/prev_state and simplify the code.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent-io-tree.h')
0 files changed, 0 insertions, 0 deletions