diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-05-25 18:47:21 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:39 -0400 |
commit | 2628cfe3d3037c20015bcc8bc59143f8b913db6c (patch) | |
tree | e402b8e7dbcd71b761ef70b02d86335c35714704 /fs/bcachefs/compress.c | |
parent | e5c15444d6aca00610c5ae9b571e307c65e744e4 (diff) | |
download | linux-2628cfe3d3037c20015bcc8bc59143f8b913db6c.tar.gz linux-2628cfe3d3037c20015bcc8bc59143f8b913db6c.tar.bz2 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.c | 2 |
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) |