Commit 86d12e47 authored by Andrea Arcangeli's avatar Andrea Arcangeli Committed by Linus Torvalds

mm: vma_adjust: minor comment correction

The cases are three not two.

Link: http://lkml.kernel.org/r/1474492522-2261-3-git-send-email-aarcange@redhat.comSigned-off-by: default avatarAndrea Arcangeli <aarcange@redhat.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Jan Vorlicek <janvorli@microsoft.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 97a42cd4
...@@ -667,7 +667,7 @@ int __vma_adjust(struct vm_area_struct *vma, unsigned long start, ...@@ -667,7 +667,7 @@ int __vma_adjust(struct vm_area_struct *vma, unsigned long start,
/* /*
* vma expands, overlapping all the next, and * vma expands, overlapping all the next, and
* perhaps the one after too (mprotect case 6). * perhaps the one after too (mprotect case 6).
* The only two other cases that gets here are * The only other cases that gets here are
* case 1, case 7 and case 8. * case 1, case 7 and case 8.
*/ */
if (next == expand) { if (next == expand) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment