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

Commit 73b6af8a authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

[PATCH] spufs: update ->flush method proto



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 1e788f8d
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -1150,7 +1150,7 @@ static unsigned int spufs_mfc_poll(struct file *file,poll_table *wait)
	return mask;
	return mask;
}
}


static int spufs_mfc_flush(struct file *file)
static int spufs_mfc_flush(struct file *file, fl_owner_t id)
{
{
	struct spu_context *ctx = file->private_data;
	struct spu_context *ctx = file->private_data;
	int ret;
	int ret;
@@ -1176,7 +1176,7 @@ out:
static int spufs_mfc_fsync(struct file *file, struct dentry *dentry,
static int spufs_mfc_fsync(struct file *file, struct dentry *dentry,
			   int datasync)
			   int datasync)
{
{
	return spufs_mfc_flush(file);
	return spufs_mfc_flush(file, NULL);
}
}


static int spufs_mfc_fasync(int fd, struct file *file, int on)
static int spufs_mfc_fasync(int fd, struct file *file, int on)