diff options
Diffstat (limited to 'fs/btrfs/compression.h')
-rw-r--r-- | fs/btrfs/compression.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/btrfs/compression.h b/fs/btrfs/compression.h index e298aa9e6b33..2ab8b2f29d88 100644 --- a/fs/btrfs/compression.h +++ b/fs/btrfs/compression.h | |||
@@ -121,7 +121,8 @@ struct workspace_manager { | |||
121 | 121 | ||
122 | void btrfs_init_workspace_manager(struct workspace_manager *wsm, | 122 | void btrfs_init_workspace_manager(struct workspace_manager *wsm, |
123 | const struct btrfs_compress_op *ops); | 123 | const struct btrfs_compress_op *ops); |
124 | struct list_head *btrfs_get_workspace(struct workspace_manager *wsm); | 124 | struct list_head *btrfs_get_workspace(struct workspace_manager *wsm, |
125 | unsigned int level); | ||
125 | void btrfs_put_workspace(struct workspace_manager *wsm, struct list_head *ws); | 126 | void btrfs_put_workspace(struct workspace_manager *wsm, struct list_head *ws); |
126 | void btrfs_cleanup_workspace_manager(struct workspace_manager *wsm); | 127 | void btrfs_cleanup_workspace_manager(struct workspace_manager *wsm); |
127 | 128 | ||
@@ -130,11 +131,11 @@ struct btrfs_compress_op { | |||
130 | 131 | ||
131 | void (*cleanup_workspace_manager)(void); | 132 | void (*cleanup_workspace_manager)(void); |
132 | 133 | ||
133 | struct list_head *(*get_workspace)(void); | 134 | struct list_head *(*get_workspace)(unsigned int level); |
134 | 135 | ||
135 | void (*put_workspace)(struct list_head *ws); | 136 | void (*put_workspace)(struct list_head *ws); |
136 | 137 | ||
137 | struct list_head *(*alloc_workspace)(void); | 138 | struct list_head *(*alloc_workspace)(unsigned int level); |
138 | 139 | ||
139 | void (*free_workspace)(struct list_head *workspace); | 140 | void (*free_workspace)(struct list_head *workspace); |
140 | 141 | ||