diff options
| author | David Sterba <[email protected]> | 2019-10-03 23:40:58 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2019-11-18 11:46:57 +0000 |
| commit | 2dba714390f1ff7a8a37cc8c3b374d71d3e84af7 (patch) | |
| tree | d8c07872abeac80b5bf0b68c7380f976a25b9747 /fs/btrfs/compression.h | |
| parent | btrfs: compression: inline init_workspace_manager (diff) | |
| download | kernel-2dba714390f1ff7a8a37cc8c3b374d71d3e84af7.tar.gz kernel-2dba714390f1ff7a8a37cc8c3b374d71d3e84af7.zip | |
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 <[email protected]>
Reviewed-by: Nikolay Borisov <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/compression.h')
| -rw-r--r-- | fs/btrfs/compression.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/compression.h b/fs/btrfs/compression.h index 12a46139c389..0deaa8e03836 100644 --- a/fs/btrfs/compression.h +++ b/fs/btrfs/compression.h @@ -123,7 +123,7 @@ struct workspace_manager { struct list_head *btrfs_get_workspace(struct workspace_manager *wsm, unsigned int level); void btrfs_put_workspace(struct workspace_manager *wsm, struct list_head *ws); -void btrfs_cleanup_workspace_manager(struct workspace_manager *wsm); +void btrfs_cleanup_workspace_manager(int type); struct btrfs_compress_op { void (*cleanup_workspace_manager)(void); |
