drop unused dentry argument to ->fsync

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
此提交包含在:
Christoph Hellwig
2010-05-26 17:53:25 +02:00
提交者 Al Viro
父節點 cc967be547
當前提交 7ea8085910
共有 69 個檔案被更改,包括 129 行新增157 行删除

查看文件

@@ -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;

查看文件

@@ -506,7 +506,7 @@ extern const struct address_space_operations logfs_reg_aops;
int logfs_readpage(struct file *file, struct page *page);
int logfs_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
unsigned long arg);
int logfs_fsync(struct file *file, struct dentry *dentry, int datasync);
int logfs_fsync(struct file *file, int datasync);
/* gc.c */
u32 get_best_cand(struct super_block *sb, struct candidate_list *list, u32 *ec);