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

record_root_in_trans can fail currently, handle this failure properly.

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