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

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

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/inode.c