[dm-devel] [PATCH 2/5] squashfs: always use bio_kmalloc in squashfs_bio_read

Chaitanya Kulkarni chaitanyak at nvidia.com
Wed Apr 6 16:24:45 UTC 2022


On 4/5/22 23:12, 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 at lst.de>
> Acked-by: Phillip Lougher <phillip at squashfs.org.uk>
> ---

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>

-ck



More information about the dm-devel mailing list