mbox series

[0/3] Simplify error handling in 3 functions

Message ID 20201124154932.3180539-1-nborisov@suse.com (mailing list archive)
Headers show
Series Simplify error handling in 3 functions | expand

Message

Nikolay Borisov Nov. 24, 2020, 3:49 p.m. UTC
Here are 3 very similar patches which switch some functions from using 2
variables to implement their error handling to using simply 1 as the standard in
the codebase dictates.

Nikolay Borisov (3):
  btrfs: Remove err variable from btrfs_delete_subvolume
  btrfs: Eliminate err variable from merge_reloc_root
  btrfs: Remove err variable from do_relocation

 fs/btrfs/inode.c      | 21 ++++++----------
 fs/btrfs/relocation.c | 57 +++++++++++++++----------------------------
 2 files changed, 26 insertions(+), 52 deletions(-)

--
2.25.1

Comments

David Sterba Nov. 24, 2020, 4:12 p.m. UTC | #1
On Tue, Nov 24, 2020 at 05:49:29PM +0200, Nikolay Borisov wrote:
> Here are 3 very similar patches which switch some functions from using 2
> variables to implement their error handling to using simply 1 as the standard in
> the codebase dictates.

Nice, added to misc-next, thanks.