projects
/
wrapfs-3.14.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26430be
)
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>
Tue, 27 Dec 2016 03:53:06 +0000
(22:53 -0500)
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 */