On 20 Jul 2023, at 11:37, Fedor Pchelkin wrote:
It is an almost improbable error case but when page allocating loop in nfs4_get_device_info() fails then we should only free the already allocated pages, as __free_page() can't deal with NULL arguments.
Found by Linux Verification Center (linuxtesting.org).
Cc: stable@vger.kernel.org Signed-off-by: Fedor Pchelkin pchelkin@ispras.ru
This looks correct to me.
Reviewed-by: Benjamin Coddington bcodding@redhat.com
Ben