diff options
| author | 2022-09-09 17:53:37 -0400 | |
|---|---|---|
| committer | 2022-09-26 12:28:04 +0200 | |
| commit | e63b81aef26ba07849a3090befde12f2653aa6a8 (patch) | |
| tree | 7e92932db036fdf8ce1d09f4f456b477455e32d8 /include/asm-generic/git:/ssh:/git@git.zx2c4.com | |
| parent | btrfs: make tree_search_prev_next return extent_state's (diff) | |
| download | linux-dev-e63b81aef26ba07849a3090befde12f2653aa6a8.tar.xz linux-dev-e63b81aef26ba07849a3090befde12f2653aa6a8.zip | |
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 'include/asm-generic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
