OSDN Git Service

btrfs: compression: let workspace manager cleanup take only the type
authorDavid Sterba <dsterba@suse.com>
Thu, 3 Oct 2019 23:40:58 +0000 (01:40 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 18 Nov 2019 11:46:57 +0000 (12:46 +0100)
commit2dba714390f1ff7a8a37cc8c3b374d71d3e84af7
treed8c07872abeac80b5bf0b68c7380f976a25b9747
parentd551703347263b7f79168e51c2f999cb883b8d65
btrfs: compression: let workspace manager cleanup take only the type

With the access to the workspace structures, we can look it up together
with the compression ops inside the workspace manager cleanup helper.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/compression.c
fs/btrfs/compression.h
fs/btrfs/lzo.c
fs/btrfs/zlib.c