Re: [PATCH 2/5] squashfs: always use bio_kmalloc in squashfs_bio_read

From: Phillip Lougher
Date: Tue Mar 01 2022 - 22:04:18 EST


On 01/03/2022 08:45, Christoph Hellwig wrote:
If a plain kmalloc that is not backed by a mempool is safe here for a
large read (and the actual page allocations), it must also be for a
small one, so simplify the code a bit.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Acked-by: Phillip Lougher <phillip@xxxxxxxxxxxxxxx>