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

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

Reviewed-by: Qu Wenruo <wqu@suse.com>
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/transaction.c