]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove err variable from btrfs_delete_subvolume
authorNikolay Borisov <nborisov@suse.com>
Tue, 24 Nov 2020 15:49:30 +0000 (17:49 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 8 Dec 2020 14:54:15 +0000 (15:54 +0100)
commitf2662c3d94f2ba5f69b663c9a8c90cf41d34f220
tree150bd9e86ea6d4445e621091ab733103ada656e4
parentbea40c124e33e1742dfee1d3ec7598a63cc57346
btrfs: remove err variable from btrfs_delete_subvolume

Use only a single 'ret' to control whether we should abort the
transaction or not. That's fine, because if we abort a transaction then
btrfs_end_transaction will return the same value as passed to
btrfs_abort_transaction. No semantic changes.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c