Skip to content
Commit e5e8a221 authored by Phil Elwell's avatar Phil Elwell Committed by popcornmix
Browse files

zswap: Uncross module parameter setting functions



The "compressor" and "zpool" parameters of the zswap module each has
a custom setter function that calls __zswap_param_set with specific
parameters, but the "zpool" setter uses parameters that are correct for
the "compressor" parameter, and vice-versa.

Fix this by swapping the function bodies over.

Fixes: 90b0fc26 ("zswap: change zpool/compressor at runtime")

Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.com>
parent de4d7e44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment