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)
committerDavid Sterba <dsterba@suse.com>
Mon, 9 Sep 2019 12:58:59 +0000 (14:58 +0200)
commitcecc8d9038d164eda61fbcd72520975a554ea63e
treec0969bb5ea095ad783fd17206b4c36bd80913a68
parentac3e99334d640b6dc8d2d8cbc57e080ba308b4c0
btrfs: Move free_pages_out label in inline extent handling branch in compress_file_range

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