mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -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
|
|
@ -183,7 +183,7 @@ extern int affs_add_entry(struct inode *dir, struct inode *inode, struct dent
|
|||
|
||||
void affs_free_prealloc(struct inode *inode);
|
||||
extern void affs_truncate(struct inode *);
|
||||
int affs_file_fsync(struct file *, struct dentry *, int);
|
||||
int affs_file_fsync(struct file *, int);
|
||||
|
||||
/* dir.c */
|
||||
|
||||
|
|
|
|||
|
|
@ -916,9 +916,9 @@ affs_truncate(struct inode *inode)
|
|||
affs_free_prealloc(inode);
|
||||
}
|
||||
|
||||
int affs_file_fsync(struct file *filp, struct dentry *dentry, int datasync)
|
||||
int affs_file_fsync(struct file *filp, int datasync)
|
||||
{
|
||||
struct inode * inode = dentry->d_inode;
|
||||
struct inode *inode = filp->f_mapping->host;
|
||||
int ret, err;
|
||||
|
||||
ret = write_inode_now(inode, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue