projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a200ee1
)
fix VM_CAN_NONLINEAR check in sys_remap_file_pages
author
Yan Zheng
<yanzheng@21cn.com>
Mon, 8 Oct 2007 17:05:48 +0000
(10:05 -0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Mon, 8 Oct 2007 19:58:14 +0000
(12:58 -0700)
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/fremap.c
patch
|
blob
|
history
diff --git
a/mm/fremap.c
b/mm/fremap.c
index
c395b1a
..
95bcb56
100644
(file)
--- a/
mm/fremap.c
+++ b/
mm/fremap.c
@@
-160,7
+160,7
@@
asmlinkage long sys_remap_file_pages(unsigned long start, unsigned long size,
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)