commit | f74ac01520c9f6d89bbc3c6931a72f757b742f86 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@redhat.com> | Mon Feb 20 16:51:23 2017 +0100 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Mon Feb 20 16:51:23 2017 +0100 |
tree | 5e7a68e5172a1157ef8b5120c11df6ad6c7f8f85 | |
parent | bb7462b6fd64e40809a857223bf7f0e628969f87 [diff] [blame] |
mm: use helper for calling f_op->mmap() Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
diff --git a/ipc/shm.c b/ipc/shm.c index 81203e8..4329fe3 100644 --- a/ipc/shm.c +++ b/ipc/shm.c
@@ -423,7 +423,7 @@ static int shm_mmap(struct file *file, struct vm_area_struct *vma) if (ret) return ret; - ret = sfd->file->f_op->mmap(sfd->file, vma); + ret = call_mmap(sfd->file, vma); if (ret) { shm_close(vma); return ret;