X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=mm%2Fmsync.c;h=07dae08cf31c70c25b8c5ea6300265489c4c7d97;hb=b9a0d06a35c382c02f471a0815e2e27cdfe1c7f9;hp=144a7570535d2b57cad3e9abac4618aa9257e29a;hpb=4b85df0419d1fb135d9d845876e8c7ee1393f83c;p=karo-tx-linux.git diff --git a/mm/msync.c b/mm/msync.c index 144a7570535d..07dae08cf31c 100644 --- a/mm/msync.c +++ b/mm/msync.c @@ -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;