mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
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>
This commit is contained in:
parent
069eac7850
commit
e5d7490236
5 changed files with 9 additions and 14 deletions
Loading…
Add table
Add a link
Reference in a new issue