erofs: do not use pagepool in z_erofs_gbuf_growsize()
authorChunhai Guo <guochunhai@vivo.com>
Tue, 2 Apr 2024 09:27:57 +0000 (03:27 -0600)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 8 May 2024 09:12:50 +0000 (17:12 +0800)
commitd6db47e571dcaecaeaafa8840d00ae849ae3907b
treec45287a1cf5c3e76da537f387b13b8059ebe285e
parentf36f3010f67611a45d66e773bc91e4c66a9abab5
erofs: do not use pagepool in z_erofs_gbuf_growsize()

Let's use alloc_pages_bulk_array() for simplicity and get rid of
unnecessary pagepool.

Signed-off-by: Chunhai Guo <guochunhai@vivo.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20240402092757.2635257-1-guochunhai@vivo.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/zutil.c