summaryrefslogtreecommitdiffstats
path: root/fs/coda
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 /fs/coda
parentbb7462b6fd64e40809a857223bf7f0e628969f87 (diff)
downloadlinux-f74ac01520c9f6d89bbc3c6931a72f757b742f86.tar.bz2
mm: use helper for calling f_op->mmap()
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/coda')
-rw-r--r--fs/coda/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/coda/file.c b/fs/coda/file.c
index 6e0154eb6fcc..9d956cd6d46f 100644
--- a/fs/coda/file.c
+++ b/fs/coda/file.c
@@ -96,7 +96,7 @@ coda_file_mmap(struct file *coda_file, struct vm_area_struct *vma)
cfi->cfi_mapcount++;
spin_unlock(&cii->c_lock);
- return host_file->f_op->mmap(host_file, vma);
+ return call_mmap(host_file, vma);
}
int coda_open(struct inode *coda_inode, struct file *coda_file)