Skip to contentSkip to conversation

mm-mmap-remove-the-first-mapping-check.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jun 5, 2014

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] mm-mmap-remove-the-first-mapping-check.patch removed from -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Thu, 05 Jun 2014 12:50:11 -0700

The patch titled
Subject: mm/mmap.c: remove the first mapping check
has been removed from the -mm tree. Its filename was
mm-mmap-remove-the-first-mapping-check.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Huang Shijie <[email protected]>
Subject: mm/mmap.c: remove the first mapping check

Remove the first mapping check for vma_link. Move the mutex_lock into the braces when vma->vm_file is true.

---

 mm/mmap.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
mm/mmap.c renamed from mm/mmap.c~mm-mmap-remove-the-first-mapping-check +1 -1
diff -puN mm/mmap.c~mm-mmap-remove-the-first-mapping-check mm/mmap.c
@@ -640,11 +640,10 @@ static void vma_link(struct mm_struct *m
 {
 	struct address_space *mapping = NULL;
 
-	if (vma->vm_file)
+	if (vma->vm_file) {
 		mapping = vma->vm_file->f_mapping;