]> git.ipfire.org Git - thirdparty/linux.git/commit - fs/btrfs/inode.c
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)
commitb0fec6fd330fe10cb68c137f6b7a17898ee69671
tree9c109ca86394382e6c9c3d0c9d9e9985b77b309d
parent00aa8e87c9dc63bf145bee00d890198cf7c45a24
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