]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mprotect: Use vma_next() instead of mas_next().
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Wed, 17 Feb 2021 22:15:37 +0000 (17:15 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Wed, 17 Feb 2021 22:15:37 +0000 (17:15 -0500)
commitbdff47e3b07f206a03911aba5d6990543ba2f1c3
tree867765f2550659d69c89b07673f6d7c20669f59f
parent3501edea1bee71b323c6e4d2443e1faa37641da7
mm/mprotect: Use vma_next() instead of mas_next().

mas is in the wrong state and would potentially return the current vma twice.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
mm/mprotect.c