]> Git Repo - linux.git/commit
btrfs: add helpers for compression type and level
authorDennis Zhou <[email protected]>
Mon, 4 Feb 2019 20:19:57 +0000 (15:19 -0500)
committerDavid Sterba <[email protected]>
Mon, 25 Feb 2019 13:13:30 +0000 (14:13 +0100)
commit1972708a897e99b25cd7d246bd37d44a592c4b54
treee8297f7868f6e7eb09c4fe3141cab479ee37d278
parent228a73abde5c04428678e917b271f8526cfd90ed
btrfs: add helpers for compression type and level

It is very easy to miss places that rely on a certain bitshifting for
decoding the type_level overloading. Add helpers to do this instead.

Cc: Omar Sandoval <[email protected]>
Reviewed-by: Nikolay Borisov <[email protected]>
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Dennis Zhou <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
fs/btrfs/compression.c
fs/btrfs/compression.h
fs/btrfs/zlib.c
This page took 0.049562 seconds and 4 git commands to generate.