]> 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)
commit483dad854e2ebd7aee8d48e346d45f1c10c838b1
tree5a04c9bbc5baf9d1442973a61835c188eeeb5cf9
parent47ccc005659b4de9899014806ef36e4834f3b52a
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