All of lore.kernel.org
 help / color / mirror / Atom feed
* + fix-vm_can_nonlinear-check-in-sys_remap_file_pages.patch added to -mm tree
@ 2007-10-08 17:05 akpm
  2007-10-08 18:40 ` Alexey Dobriyan
  0 siblings, 1 reply; 5+ messages in thread
From: akpm @ 2007-10-08 17:05 UTC (permalink / raw)
  To: mm-commits; +Cc: yanzheng


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@21cn.com>

The test for VM_CAN_NONLINEAR always fails

Signed-off-by: Yan Zheng<yanzheng@21cn.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 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@21cn.com are

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-10-22 22:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-08 17:05 + fix-vm_can_nonlinear-check-in-sys_remap_file_pages.patch added to -mm tree akpm
2007-10-08 18:40 ` Alexey Dobriyan
2007-10-08 23:09   ` Ray Lee
2007-10-09 15:30   ` Al Viro
2007-10-22 22:17   ` Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.