[folded-merged] mm-mmapc-refine-find_vma_prev-with-rb_last-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: mm-mmapc-refine-find_vma_prev-with-rb_last-fix
has been removed from the -mm tree.  Its filename was
     mm-mmapc-refine-find_vma_prev-with-rb_last-fix.patch

This patch was dropped because it was folded into mm-mmapc-refine-find_vma_prev-with-rb_last.patch

------------------------------------------------------
From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Subject: mm-mmapc-refine-find_vma_prev-with-rb_last-fix

little cleanup, per Vlastimil

Cc: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
Cc: Michal Hocko <mhocko@xxxxxxxx>
Cc: Vlastimil Babka <vbabka@xxxxxxx>
Cc: Wei Yang <richardw.yang@xxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/mmap.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/mm/mmap.c~mm-mmapc-refine-find_vma_prev-with-rb_last-fix
+++ a/mm/mmap.c
@@ -2286,8 +2286,8 @@ find_vma_prev(struct mm_struct *mm, unsi
 		*pprev = vma->vm_prev;
 	} else {
 		struct rb_node *rb_node = rb_last(&mm->mm_rb);
-		*pprev = !rb_node ? NULL :
-			 rb_entry(rb_node, struct vm_area_struct, vm_rb);
+
+		*pprev = rb_node ? rb_entry(rb_node, struct vm_area_struct, vm_rb) : NULL;
 	}
 	return vma;
 }
_

Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are

mm-mmapc-refine-find_vma_prev-with-rb_last.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux