projects
/
wrapfs-4.2.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ca3425
)
Wrapfs: remove VM_CAN_NONLINEAR flag use in ->mmap
author
Erez Zadok
<ezk@cs.sunysb.edu>
Wed, 5 Jun 2013 03:19:30 +0000
(23:19 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Sun, 3 Apr 2016 19:23:20 +0000
(15:23 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/wrapfs/file.c
patch
|
blob
|
history
diff --git
a/fs/wrapfs/file.c
b/fs/wrapfs/file.c
index 22b33a273bd0037a243f77e7ae8ad222382cc0b3..2692eea1ae3b071f3106d36335789b84c0500e8d 100644
(file)
--- a/
fs/wrapfs/file.c
+++ b/
fs/wrapfs/file.c
@@
-154,7
+154,6
@@
static int wrapfs_mmap(struct file *file, struct vm_area_struct *vma)
*/
file_accessed(file);
vma->vm_ops = &wrapfs_vm_ops;
- vma->vm_flags |= VM_CAN_NONLINEAR;
file->f_mapping->a_ops = &wrapfs_aops; /* set our aops */
if (!WRAPFS_F(file)->lower_vm_ops) /* save for our ->fault */