]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
btrfs: handle btrfs_record_root_in_trans failure in start_transaction
authorJosef Bacik <josef@toxicpanda.com>
Fri, 12 Mar 2021 20:25:08 +0000 (15:25 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Apr 2021 15:25:20 +0000 (17:25 +0200)
commit68075ea8d760d6136900a268d65b7fd072977ccb
treeeded5f94222c61b7f7ebb53a0b2e914846f3bdc2
parentd18c7bd95c3d1adf5de385acc8c0bdb64b1a8d68
btrfs: handle btrfs_record_root_in_trans failure in start_transaction

btrfs_record_root_in_trans will return errors in the future, so handle
the error properly in start_transaction.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ add comment ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/transaction.c