From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [PATCH] xfs: update ->flush method proto Date: Sun, 25 Jun 2006 21:32:23 +0100 Message-ID: <20060625203223.GI27946@ftp.linux.org.uk> References: <20060625201529.GA7560@martell.zuzino.mipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andrew Morton , xfs@oss.sgi.com, linux-fsdevel@vger.kernel.org Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:62598 "EHLO ZenIV.linux.org.uk") by vger.kernel.org with ESMTP id S932288AbWFYUc2 (ORCPT ); Sun, 25 Jun 2006 16:32:28 -0400 To: Alexey Dobriyan Content-Disposition: inline In-Reply-To: <20060625201529.GA7560@martell.zuzino.mipt.ru> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Mon, Jun 26, 2006 at 12:15:29AM +0400, Alexey Dobriyan wrote: > Signed-off-by: Alexey Dobriyan ACK. Another in the same direction and that should cover it (patch is incremental, not replacement) Signed-off-by: Al Viro --- 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)