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

btrfs: merge length input and output parameter in compress_pages



The length parameter is basically duplicated for input and output in the
top level caller of the compress_pages chain. We can simply use one
variable for that and reduce stack consumption. The compression
implementation will sink the parameter to a local variable so everything
works as before.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 52f75f4f
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