]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: handle btrfs_update_reloc_root failure in insert_dirty_subvol
authorJosef Bacik <josef@toxicpanda.com>
Fri, 12 Mar 2021 20:25:18 +0000 (15:25 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Apr 2021 15:25:21 +0000 (17:25 +0200)
commit621190e3d54a178897a7b342483d1eb59f4257f7
treebdc361a85b71035db1baeb4aaa557a9119aebe81
parent93fa8b3615916f7ac8d77a15c7b68b533b89799c
btrfs: handle btrfs_update_reloc_root failure in insert_dirty_subvol

btrfs_update_reloc_root will will return errors in the future, so handle
the error properly in insert_dirty_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/relocation.c