commit | b0c1fe1eaf5eea10e8d577545298b6d5f9f7ff38 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Fri Aug 09 16:49:06 2019 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon Sep 09 14:59:11 2019 +0200 |
tree | 8d487a078a47357a06992bc8008293fb2bd35c26 | |
parent | e18333a7cb97d838c09802092fcecd3269363ecb [diff] |
btrfs: compression: replace set_level callbacks by a common helper The set_level callbacks do not do anything special and can be replaced by a helper that uses the levels defined in the tables. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>