]> www.infradead.org Git - users/jedix/linux-maple.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>
Tue, 6 Apr 2021 17:22:03 +0000 (19:22 +0200)
commit29d1099fc95f6017f5da2000be7bbe8a7bebf0d6
treebaa5e7105fa462b9513f85e45217a6add4c1ec7e
parent3c8fa8869b7ae82056d01f17e6882f62a1eaa145
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