[PATCH] erofs: fix a potential NULL dereference of alloc_pages()

Xiaoke Wang xkernel.wang at foxmail.com
Tue Mar 22 19:44:02 AEDT 2022


On Tue, 22 Mar 2022 16:28:09 +0800, hsiangkao at linux.alibaba.com wrote:

> It's really a nofail allocation, am I missing something?

Sorry, I did not carefully notice the flag `__GFP_NOFAIL`.
Please ignore this patch if this does not need to deal with failure.

Regards,
Xiaoke Wang


More information about the Linux-erofs mailing list