[PATCH 5/5] spufs: fix spufs_mfc_flush prototype

STALE7354d

2 messages, 1 author, 2006-06-25 · open the first message on its own page

[PATCH 5/5] spufs: fix spufs_mfc_flush prototype

From: arnd@arndb.de
Date: 2006-06-23 19:04:11

The prototype for the flush file operation now has another
argument in 2.6.18.

Signed-off-by: Arnd Bergmann <redacted>
Index: linus-2.6/arch/powerpc/platforms/cell/spufs/file.c
===================================================================
--- linus-2.6.orig/arch/powerpc/platforms/cell/spufs/file.c
+++ linus-2.6/arch/powerpc/platforms/cell/spufs/file.c
@@ -1150,7 +1150,7 @@ static unsigned int spufs_mfc_poll(struc
 	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, 0);
 }
 
 static int spufs_mfc_fasync(int fd, struct file *file, int on)

--

Re: [PATCH 5/5] spufs: fix spufs_mfc_flush prototype

From: Arnd Bergmann <arnd@arndb.de>
Date: 2006-06-25 23:48:54

On Friday 23 June 2006 20:57, arnd@arndb.de wrote:
The prototype for the flush file operation now has another
argument in 2.6.18.
Al Viro already submitted this one, please ignore it.

	Arnd <><
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help