diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2017-02-20 10:51:23 -0500 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2017-02-20 10:51:23 -0500 |
commit | f74ac01520c9f6d89bbc3c6931a72f757b742f86 (patch) | |
tree | 5e7a68e5172a1157ef8b5120c11df6ad6c7f8f85 /ipc | |
parent | bb7462b6fd64e40809a857223bf7f0e628969f87 (diff) |
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) | |||
423 | if (ret) | 423 | if (ret) |
424 | return ret; | 424 | return ret; |
425 | 425 | ||
426 | ret = sfd->file->f_op->mmap(sfd->file, vma); | 426 | ret = call_mmap(sfd->file, vma); |
427 | if (ret) { | 427 | if (ret) { |
428 | shm_close(vma); | 428 | shm_close(vma); |
429 | return ret; | 429 | return ret; |