diff options
Diffstat (limited to 'fs/ncpfs')
-rw-r--r-- | fs/ncpfs/mmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ncpfs/mmap.c b/fs/ncpfs/mmap.c index 70a69115500f..5416673418b8 100644 --- a/fs/ncpfs/mmap.c +++ b/fs/ncpfs/mmap.c | |||
@@ -123,6 +123,7 @@ int ncp_mmap(struct file *file, struct vm_area_struct *vma) | |||
123 | return -EFBIG; | 123 | return -EFBIG; |
124 | 124 | ||
125 | vma->vm_ops = &ncp_file_mmap; | 125 | vma->vm_ops = &ncp_file_mmap; |
126 | vma->vm_flags |= VM_CAN_INVALIDATE; | ||
126 | file_accessed(file); | 127 | file_accessed(file); |
127 | return 0; | 128 | return 0; |
128 | } | 129 | } |