diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/msync.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -82,7 +82,7 @@ asmlinkage long sys_msync(unsigned long start, size_t len, int flags) (vma->vm_flags & VM_SHARED)) { get_file(file); up_read(&mm->mmap_sem); - error = do_fsync(file, 0); + error = vfs_fsync(file, file->f_path.dentry, 0); fput(file); if (error || start >= end) goto out; |