Re: [PATCH] mmap: Fix remap_file_pages() regression

From: J. R. Okajima
Date: Tue Oct 25 2022 - 20:24:56 EST


Liam Howlett:
> When using the VMA iterator, the final execution will set the variable
> 'next' to NULL which causes the function to fail out. Restore the break
> in the loop to exit the VMA iterator early without clearing NULL fixes
> the issue.

Thaks, it passed the test.


J. R. Okajima