drop unused dentry argument to ->fsync
[deliverable/linux.git] / fs / afs / write.c
index 3bed54a294d4300e234e9c65b49338aced33c7f2..3dab9e9948d0f39a55a4ddaf22f4524bcb0ffb4a 100644 (file)
@@ -701,8 +701,9 @@ int afs_writeback_all(struct afs_vnode *vnode)
  * - the return status from this call provides a reliable indication of
  *   whether any write errors occurred for this process.
  */
-int afs_fsync(struct file *file, struct dentry *dentry, int datasync)
+int afs_fsync(struct file *file, int datasync)
 {
+       struct dentry *dentry = file->f_path.dentry;
        struct afs_writeback *wb, *xwb;
        struct afs_vnode *vnode = AFS_FS_I(dentry->d_inode);
        int ret;
This page took 0.024183 seconds and 5 git commands to generate.