Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7ea80859 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Al Viro
Browse files

drop unused dentry argument to ->fsync



Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent cc967be5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -380,7 +380,7 @@ prototypes:
	int (*open) (struct inode *, struct file *);
	int (*flush) (struct file *);
	int (*release) (struct inode *, struct file *);
	int (*fsync) (struct file *, struct dentry *, int datasync);
	int (*fsync) (struct file *, int datasync);
	int (*aio_fsync) (struct kiocb *, int datasync);
	int (*fasync) (int, struct file *, int);
	int (*lock) (struct file *, int, struct file_lock *);
+1 −1
Original line number Diff line number Diff line
@@ -729,7 +729,7 @@ struct file_operations {
	int (*open) (struct inode *, struct file *);
	int (*flush) (struct file *);
	int (*release) (struct inode *, struct file *);
	int (*fsync) (struct file *, struct dentry *, int datasync);
	int (*fsync) (struct file *, int datasync);
	int (*aio_fsync) (struct kiocb *, int datasync);
	int (*fasync) (int, struct file *, int);
	int (*lock) (struct file *, int, struct file_lock *);
+1 −2
Original line number Diff line number Diff line
@@ -1849,8 +1849,7 @@ out:
	return ret;
}

static int spufs_mfc_fsync(struct file *file, struct dentry *dentry,
			   int datasync)
static int spufs_mfc_fsync(struct file *file, int datasync)
{
	return spufs_mfc_flush(file, NULL);
}
+1 −2
Original line number Diff line number Diff line
@@ -305,8 +305,7 @@ static int ps3flash_flush(struct file *file, fl_owner_t id)
	return ps3flash_writeback(ps3flash_dev);
}

static int ps3flash_fsync(struct file *file, struct dentry *dentry,
			  int datasync)
static int ps3flash_fsync(struct file *file, int datasync)
{
	return ps3flash_writeback(ps3flash_dev);
}
+1 −2
Original line number Diff line number Diff line
@@ -189,8 +189,7 @@ static loff_t vol_cdev_llseek(struct file *file, loff_t offset, int origin)
	return new_offset;
}

static int vol_cdev_fsync(struct file *file, struct dentry *dentry,
			  int datasync)
static int vol_cdev_fsync(struct file *file, int datasync)
{
	struct ubi_volume_desc *desc = file->private_data;
	struct ubi_device *ubi = desc->vol->ubi;
Loading