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)
commit7934133fae5ea08346b224ecabffdbf14dd076c6
treebdc361a85b71035db1baeb4aaa557a9119aebe81
parentac54da6c37f1eb45218e107f9c924e4d7f054e5b
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