Skip to content

Commit

Permalink
[PATCH] spufs: update ->flush method proto
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Jun 26, 2006
1 parent 1e788f8 commit 73b6af8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/platforms/cell/spufs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ static unsigned int spufs_mfc_poll(struct file *file,poll_table *wait)
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;
int ret;
Expand All @@ -1176,7 +1176,7 @@ static int spufs_mfc_flush(struct file *file)
static int spufs_mfc_fsync(struct file *file, struct dentry *dentry,
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)
Expand Down

0 comments on commit 73b6af8

Please sign in to comment.