]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/coda/file.c
drop unused dentry argument to ->fsync
[net-next-2.6.git] / fs / coda / file.c
index 7196077b16886fb4eca989a44d42f4c454cd65a6..ad3cd2abeeb48e561cadf63f65f9ae8d105dd621 100644 (file)
@@ -202,10 +202,10 @@ int coda_release(struct inode *coda_inode, struct file *coda_file)
        return 0;
 }
 
-int coda_fsync(struct file *coda_file, struct dentry *coda_dentry, int datasync)
+int coda_fsync(struct file *coda_file, int datasync)
 {
        struct file *host_file;
-       struct inode *coda_inode = coda_dentry->d_inode;
+       struct inode *coda_inode = coda_file->f_path.dentry->d_inode;
        struct coda_file_info *cfi;
        int err = 0;