diff options
Diffstat (limited to 'libbcachefs/compress.c')
-rw-r--r-- | libbcachefs/compress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/compress.c b/libbcachefs/compress.c index 64bdafe3..51af8ea2 100644 --- a/libbcachefs/compress.c +++ b/libbcachefs/compress.c @@ -576,7 +576,7 @@ static int __bch2_fs_compress_init(struct bch_fs *c, u64 features) * ZSTD is lying: if we allocate the size of the workspace it says it * requires, it returns memory allocation errors */ - c->zstd_workspace_size = zstd_cctx_workspace_bound(¶ms.cParams) * 2; + c->zstd_workspace_size = zstd_cctx_workspace_bound(¶ms.cParams); struct { unsigned feature; |