[PATCH] btrfs: Refactor error handling in btrfs_zero_range

2021-03-02 Thread Nikolay Borisov
The major complexity when it comes to error handling in btrfs_zero_range stems from the code executed under the 'reserve_space' label. Rather than it having an effect on the whole of btrfs_zero_range refactor it so that error handling specific to the functions called in this branch is contained onl

[PATCH] btrfs: Refactor error handling in btrfs_zero_range

2021-02-25 Thread Nikolay Borisov
The major complexity when it comes to error handling in btrfs_zero_range stems from the code executed under the 'reserve_space' label. Rather than it having an effect on the whole of btrfs_zero_range refactor it so that error handling specific to the functions called in this branch is contained onl