]> www.infradead.org Git - users/jedix/linux-maple.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>
Tue, 6 Apr 2021 17:26:28 +0000 (19:26 +0200)
commit6141039fdd484deedacab95ce423b08698eeefc6
tree51dab65b83423194e0a05c4f8eb54e84e03ab940
parent3fe37d43035f69a1345757ae5a242e041e38f871
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