Skip to content
Commit e5d74902 authored by David Sterba's avatar David Sterba
Browse files

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: default avatarDavid Sterba <dsterba@suse.com>
parent 069eac78
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment