summaryrefslogtreecommitdiffstats
path: root/fs/erofs/decompressor.c
diff options
context:
space:
mode:
authorGao Xiang <gaoxiang25@huawei.com>2019-11-21 21:59:54 +0800
committerGao Xiang <gaoxiang25@huawei.com>2019-11-24 10:57:48 +0800
commit5ddcee1f3a1ccaccb31bc17080f75a0bb13b4906 (patch)
tree2588e73eefe6da892ba830d3a60a7c0afaa158cf /fs/erofs/decompressor.c
parentbda17a4577da729d17b8f87bf3279b9db201d8ca (diff)
downloadlinux-stable-5ddcee1f3a1ccaccb31bc17080f75a0bb13b4906.tar.gz
linux-stable-5ddcee1f3a1ccaccb31bc17080f75a0bb13b4906.tar.bz2
linux-stable-5ddcee1f3a1ccaccb31bc17080f75a0bb13b4906.zip
erofs: get rid of __stagingpage_alloc helper
Now open code is much cleaner due to iterative development. Link: https://lore.kernel.org/r/20191124025217.12345-1-hsiangkao@aol.com Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Diffstat (limited to 'fs/erofs/decompressor.c')
-rw-r--r--fs/erofs/decompressor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/erofs/decompressor.c b/fs/erofs/decompressor.c
index 19f89f9fb10c..2890a67a1ded 100644
--- a/fs/erofs/decompressor.c
+++ b/fs/erofs/decompressor.c
@@ -73,7 +73,7 @@ static int z_erofs_lz4_prepare_destpages(struct z_erofs_decompress_req *rq,
victim = availables[--top];
get_page(victim);
} else {
- victim = erofs_allocpage(pagepool, GFP_KERNEL, false);
+ victim = erofs_allocpage(pagepool, GFP_KERNEL);
if (!victim)
return -ENOMEM;
victim->mapping = Z_EROFS_MAPPING_STAGING;