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:
Christoph Hellwig
2010-05-26 17:53:25 +02:00
committed by Al Viro
parent cc967be547
commit 7ea8085910
69 changed files with 129 additions and 157 deletions

View File

@@ -219,9 +219,9 @@ int logfs_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
}
}
int logfs_fsync(struct file *file, struct dentry *dentry, int datasync)
int logfs_fsync(struct file *file, int datasync)
{
struct super_block *sb = dentry->d_inode->i_sb;
struct super_block *sb = file->f_mapping->host->i_sb;
logfs_write_anchor(sb);
return 0;