]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: handle btrfs_record_root_in_trans failure in btrfs_rename_exchange
authorJosef Bacik <josef@toxicpanda.com>
Fri, 12 Mar 2021 20:25:02 +0000 (15:25 -0500)
committerDavid Sterba <dsterba@suse.com>
Tue, 6 Apr 2021 17:20:51 +0000 (19:20 +0200)
commit3c8fa8869b7ae82056d01f17e6882f62a1eaa145
treed2ae3bb71d0584806637dffe85ef3fbb5d5d1a4d
parent1b9bf158872d77531e11914069f6132c2091ad3c
btrfs: handle btrfs_record_root_in_trans failure in btrfs_rename_exchange

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

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