diff options
author | David Sterba <dsterba@suse.com> | 2019-10-04 01:40:58 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-11-18 12:46:57 +0100 |
commit | 2dba714390f1ff7a8a37cc8c3b374d71d3e84af7 (patch) | |
tree | d8c07872abeac80b5bf0b68c7380f976a25b9747 /fs/btrfs/lzo.c | |
parent | d551703347263b7f79168e51c2f999cb883b8d65 (diff) | |
download | linux-2dba714390f1ff7a8a37cc8c3b374d71d3e84af7.tar.bz2 |
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>
Diffstat (limited to 'fs/btrfs/lzo.c')
-rw-r--r-- | fs/btrfs/lzo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/lzo.c b/fs/btrfs/lzo.c index a55079477edf..6aa602040506 100644 --- a/fs/btrfs/lzo.c +++ b/fs/btrfs/lzo.c @@ -65,7 +65,7 @@ static struct workspace_manager wsm; static void lzo_cleanup_workspace_manager(void) { - btrfs_cleanup_workspace_manager(&wsm); + btrfs_cleanup_workspace_manager(BTRFS_COMPRESS_LZO); } static struct list_head *lzo_get_workspace(unsigned int level) |