mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-03 09:20:14 -05:00
[PATCH] spufs: update ->flush method proto
Signed-off-by: Al Viro <[email protected]> Cc: Arnd Bergmann <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
1e788f8d1a
commit
73b6af8a21
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
@ -1176,7 +1176,7 @@ out:
|
|||
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue