Re: [PATCH 1/2] btrfs: Return number of compressed extents directly in compress_file_range

David Sterba
2019-07-25T15:50:39Z

On Wed, Jul 17, 2019 at 02:41:44PM +0300, Nikolay Borisov wrote:
> compress_file_range returns a void, yet uses a function parameter as a
> return value. Make that more idiomatic by simply returning the number
> of compressed extents directly. Also track such extents in more aptly
> named variables. No functional changes
>
> Signed-off-by: Nikolay Borisov <nborisov@suse.com>

1 and 2 added to misc-next, thanks.