commit | e5d74902362f1a06ea3674042d09f1af178c0a20 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Tue Feb 14 19:45:05 2017 +0100 |
committer | David Sterba <dsterba@suse.com> | Tue Feb 28 14:26:36 2017 +0100 |
tree | 18b3bf38ac7e1d72923e423156f5e1843317f695 | |
parent | 069eac7850890acf0d3c21a6c8ca9f33ddb34a0d [diff] |
btrfs: derive maximum output size in the compression implementation The value of max_out can be calculated from the parameters passed to the compressors, which is number of pages and the page size, and we don't have to needlessly pass it around. Signed-off-by: David Sterba <dsterba@suse.com>