+ fix-vm_can_nonlinear-check-in-sys_remap_file_pages.patch added to -mm tree

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

 



The patch titled
     fix VM_CAN_NONLINEAR check in sys_remap_file_pages
has been added to the -mm tree.  Its filename is
     fix-vm_can_nonlinear-check-in-sys_remap_file_pages.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: fix VM_CAN_NONLINEAR check in sys_remap_file_pages
From: "Yan Zheng" <yanzheng@xxxxxxxx>

The test for VM_CAN_NONLINEAR always fails

Signed-off-by: Yan Zheng<yanzheng@xxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/fremap.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN mm/fremap.c~fix-vm_can_nonlinear-check-in-sys_remap_file_pages mm/fremap.c
--- a/mm/fremap.c~fix-vm_can_nonlinear-check-in-sys_remap_file_pages
+++ a/mm/fremap.c
@@ -160,7 +160,7 @@ asmlinkage long sys_remap_file_pages(uns
 	if (vma->vm_private_data && !(vma->vm_flags & VM_NONLINEAR))
 		goto out;
 
-	if (!vma->vm_flags & VM_CAN_NONLINEAR)
+	if (!(vma->vm_flags & VM_CAN_NONLINEAR))
 		goto out;
 
 	if (end <= start || start < vma->vm_start || end > vma->vm_end)
_

Patches currently in -mm which might be from yanzheng@xxxxxxxx are

fix-vm_can_nonlinear-check-in-sys_remap_file_pages.patch
anon-inodes-use-open-coded-atomic_inc-for-the-shared-inode.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

  Powered by Linux