summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2017-02-20 16:51:23 +0100
committerMiklos Szeredi <mszeredi@redhat.com>2017-02-20 16:51:23 +0100
commitf74ac01520c9f6d89bbc3c6931a72f757b742f86 (patch)
tree5e7a68e5172a1157ef8b5120c11df6ad6c7f8f85 /ipc
parentbb7462b6fd64e40809a857223bf7f0e628969f87 (diff)
downloadblackbird-obmc-linux-f74ac01520c9f6d89bbc3c6931a72f757b742f86.tar.gz
blackbird-obmc-linux-f74ac01520c9f6d89bbc3c6931a72f757b742f86.zip
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/shm.c b/ipc/shm.c
index 81203e8ba013..4329fe3ef594 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;
OpenPOWER on IntegriCloud