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

From: Xiaoke Wang
Date: Tue Mar 22 2022 - 04:44:18 EST


On Tue, 22 Mar 2022 16:28:09 +0800, hsiangkao@xxxxxxxxxxxxxxxxx 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