diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2017-02-20 16:51:23 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2017-02-20 16:51:23 +0100 |
commit | f74ac01520c9f6d89bbc3c6931a72f757b742f86 (patch) | |
tree | 5e7a68e5172a1157ef8b5120c11df6ad6c7f8f85 /ipc | |
parent | bb7462b6fd64e40809a857223bf7f0e628969f87 (diff) | |
download | op-kernel-dev-f74ac01520c9f6d89bbc3c6931a72f757b742f86.zip op-kernel-dev-f74ac01520c9f6d89bbc3c6931a72f757b742f86.tar.gz |
mm: use helper for calling f_op->mmap()
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/shm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |