]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: handle record_root_in_trans failure in create_pending_snapshot
authorJosef Bacik <josef@toxicpanda.com>
Fri, 12 Mar 2021 20:25:11 +0000 (15:25 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Apr 2021 15:25:20 +0000 (17:25 +0200)
commit490f5096278f31bcf04f736eca56a80ae8d469e7
treec227e23b5e4789dd484ed747e546e29f6671b225
parent1c46eafb6b42f308706092d007cef2333118ebe3
btrfs: handle record_root_in_trans failure in create_pending_snapshot

record_root_in_trans can currently fail, so handle this failure
properly.

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