drop unused dentry argument to ->fsync
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
committed by
Al Viro
parent
cc967be547
commit
7ea8085910
@@ -11,8 +11,7 @@ extern int coda_fake_statfs;
|
||||
|
||||
void coda_destroy_inodecache(void);
|
||||
int coda_init_inodecache(void);
|
||||
int coda_fsync(struct file *coda_file, struct dentry *coda_dentry,
|
||||
int datasync);
|
||||
int coda_fsync(struct file *coda_file, int datasync);
|
||||
void coda_sysctl_init(void);
|
||||
void coda_sysctl_clean(void);
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user