Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm, hwpoison: fixup "mm: check the return value of lookup_page_ext fo…
…r all call sites" Backport of the upstream commit f86e427 ("mm: check the return value of lookup_page_ext for all call sites") is wrong for hwpoison pages. I have accidentally negated the condition for bailout. This basically disables hwpoison pages tracking while the code still might crash on unusual configurations when struct pages do not have page_ext allocated. The fix is trivial to invert the condition. Reported-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Michal Hocko <mhocko@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information