]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: handle btrfs_record_root_in_trans failure in create_subvol
authorJosef Bacik <josef@toxicpanda.com>
Fri, 12 Mar 2021 20:25:06 +0000 (15:25 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Apr 2021 15:25:20 +0000 (17:25 +0200)
commit7047cd72e80d7496fd96fb4fb69b15a265d415b1
tree5a04c9bbc5baf9d1442973a61835c188eeeb5cf9
parent3b0915b0c1acd8a10ec15f34b22fc60311cbd1aa
btrfs: handle btrfs_record_root_in_trans failure in create_subvol

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

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/ioctl.c