xfs
[Top] [All Lists]

Re: [PATCH] xfs: update ->flush method proto

To: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Subject: Re: [PATCH] xfs: update ->flush method proto
From: Al Viro <viro@xxxxxxxxxxxxxxxx>
Date: Sun, 25 Jun 2006 21:32:23 +0100
Cc: Andrew Morton <akpm@xxxxxxxx>, xfs@xxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx
In-reply-to: <20060625201529.GA7560@martell.zuzino.mipt.ru>
References: <20060625201529.GA7560@martell.zuzino.mipt.ru>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Mon, Jun 26, 2006 at 12:15:29AM +0400, Alexey Dobriyan wrote:
> Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>

ACK.  Another in the same direction and that should cover it (patch
is incremental, not replacement)

Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
---

diff --git a/arch/powerpc/platforms/cell/spufs/file.c 
b/arch/powerpc/platforms/cell/spufs/file.c
index 80c0266..ee9c160 100644
--- a/arch/powerpc/platforms/cell/spufs/file.c
+++ b/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 @@ #endif
 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)


<Prev in Thread] Current Thread [Next in Thread>