diff options
Diffstat (limited to 'mm/shmem.c')
-rw-r--r-- | mm/shmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index 65c148efa2ed..a1f2f02af724 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -1270,7 +1270,7 @@ out_nomem: | |||
1270 | return retval; | 1270 | return retval; |
1271 | } | 1271 | } |
1272 | 1272 | ||
1273 | static int shmem_mmap(struct file *file, struct vm_area_struct *vma) | 1273 | int shmem_mmap(struct file *file, struct vm_area_struct *vma) |
1274 | { | 1274 | { |
1275 | file_accessed(file); | 1275 | file_accessed(file); |
1276 | vma->vm_ops = &shmem_vm_ops; | 1276 | vma->vm_ops = &shmem_vm_ops; |