summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/compress.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2020-05-26 00:47:21 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:08:39 +0200
commit2628cfe3d3037c20015bcc8bc59143f8b913db6c (patch)
treee402b8e7dbcd71b761ef70b02d86335c35714704 /fs/bcachefs/compress.c
parentbcachefs: Print out d_type in dirent_to_text() (diff)
downloadlinux-2628cfe3d3037c20015bcc8bc59143f8b913db6c.tar.xz
linux-2628cfe3d3037c20015bcc8bc59143f8b913db6c.zip
bcachefs: Add vmalloc fallback for decompress workspace
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/compress.c')
-rw-r--r--fs/bcachefs/compress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/compress.c b/fs/bcachefs/compress.c
index 6115e0294e4d..920460a182b4 100644
--- a/fs/bcachefs/compress.c
+++ b/fs/bcachefs/compress.c
@@ -607,7 +607,7 @@ have_compressed:
}
if (!mempool_initialized(&c->decompress_workspace)) {
- ret = mempool_init_kmalloc_pool(
+ ret = mempool_init_kvpmalloc_pool(
&c->decompress_workspace,
1, decompress_workspace_size);
if (ret)