aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2022-09-09 17:53:37 -0400
committerDavid Sterba <[email protected]>2022-09-26 12:28:04 +0200
commite63b81aef26ba07849a3090befde12f2653aa6a8 (patch)
tree7e92932db036fdf8ce1d09f4f456b477455e32d8 /fs/btrfs/inode.c
parent43b068cad58f2ae9cfb929a0f313499f70c16521 (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 <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions