]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
btrfs: Move free_pages_out label in inline extent handling branch in compress_file_range
authorNikolay Borisov <nborisov@suse.com>
Wed, 17 Jul 2019 11:41:45 +0000 (14:41 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Aug 2020 08:29:54 +0000 (10:29 +0200)
commitc05c73db96b3fb47bab80c43651972ecc1c8c461
tree670ef8abcbf243f84f935dd4d28ee26d0f4ab4d8
parent82ba99cfbdc46075c6c9f8941e6ed6bac0a5dacc
btrfs: Move free_pages_out label in inline extent handling branch in compress_file_range

[ Upstream commit cecc8d9038d164eda61fbcd72520975a554ea63e ]

This label is only executed if compress_file_range fails to create an
inline extent. So move its code in the semantically related inline
extent handling branch. No functional changes.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/btrfs/inode.c