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

btrfs_update_reloc_root will will return errors in the future, so handle
an error properly in prepare_to_merge.

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