]> Git Repo - linux.git/blobdiff - fs/ntfs/file.c
SUNRPC: Clean up transport write space handling
[linux.git] / fs / ntfs / file.c
index c4f68c338735b909c163abb11b9d5c90df9fb71f..331910fa84422cc77fc14eaadfef5cb058c22cc7 100644 (file)
@@ -1989,7 +1989,7 @@ static int ntfs_file_fsync(struct file *filp, loff_t start, loff_t end,
 
        ntfs_debug("Entering for inode 0x%lx.", vi->i_ino);
 
-       err = filemap_write_and_wait_range(vi->i_mapping, start, end);
+       err = file_write_and_wait_range(filp, start, end);
        if (err)
                return err;
        inode_lock(vi);
This page took 0.033553 seconds and 4 git commands to generate.