mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
drop unused dentry argument to ->fsync
Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
cc967be547
commit
7ea8085910
69 changed files with 129 additions and 157 deletions
|
|
@ -40,12 +40,11 @@ static int exofs_release_file(struct inode *inode, struct file *filp)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int exofs_file_fsync(struct file *filp, struct dentry *dentry,
|
||||
int datasync)
|
||||
static int exofs_file_fsync(struct file *filp, int datasync)
|
||||
{
|
||||
int ret;
|
||||
struct address_space *mapping = filp->f_mapping;
|
||||
struct inode *inode = dentry->d_inode;
|
||||
struct inode *inode = mapping->host;
|
||||
struct super_block *sb;
|
||||
|
||||
ret = filemap_write_and_wait(mapping);
|
||||
|
|
@ -66,7 +65,7 @@ static int exofs_file_fsync(struct file *filp, struct dentry *dentry,
|
|||
|
||||
static int exofs_flush(struct file *file, fl_owner_t id)
|
||||
{
|
||||
exofs_file_fsync(file, file->f_path.dentry, 1);
|
||||
exofs_file_fsync(file, 1);
|
||||
/* TODO: Flush the OSD target */
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue