]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: handle btrfs_record_root_in_trans failure in btrfs_delete_subvolume
authorJosef Bacik <josef@toxicpanda.com>
Fri, 12 Mar 2021 20:25:04 +0000 (15:25 -0500)
committerDavid Sterba <dsterba@suse.com>
Tue, 6 Apr 2021 17:22:31 +0000 (19:22 +0200)
commitd78a30f330881d2890c01a6d799af60ad674c7d0
tree42918ca71f6d6032c4ef288bd2de4074d5af54ff
parent29d1099fc95f6017f5da2000be7bbe8a7bebf0d6
btrfs: handle btrfs_record_root_in_trans failure in btrfs_delete_subvolume

btrfs_record_root_in_trans will return errors in the future, so handle
the error properly in btrfs_delete_subvolume.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c