commit | 4d3a800ebb1299944408f3b40b5b6b996477fba2 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Tue Feb 14 19:04:07 2017 +0100 |
committer | David Sterba <dsterba@suse.com> | Tue Feb 28 14:26:35 2017 +0100 |
tree | 165a58136bd55ad94dec5154f6e03a47bf4763a9 | |
parent | 38c31464089f639630b7c28ce933a4d60e135a02 [diff] |
btrfs: merge nr_pages input and output parameter in compress_pages The parameter saying how many pages can be allocated at maximum can be merged with the output page counter, to save some stack space. The compression implementation will sink the parameter to a local variable so everything works as before. The nr_pages variables can also be simply merged in compress_file_range into one. Signed-off-by: David Sterba <dsterba@suse.com>