]> 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)
commit2e9537d6bbdc5d59c0780c390fc33065739015d1
treec227e23b5e4789dd484ed747e546e29f6671b225
parent7afe8803cb21fc09022f14743b6dbe0a98bda8d3
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