* [PATCH] xfs: update ->flush method proto
@ 2006-06-25 20:15 Alexey Dobriyan
2006-06-25 20:32 ` Al Viro
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2006-06-25 20:15 UTC (permalink / raw)
To: Andrew Morton; +Cc: xfs, linux-fsdevel
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
fs/xfs/linux-2.6/xfs_file.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/fs/xfs/linux-2.6/xfs_file.c
+++ b/fs/xfs/linux-2.6/xfs_file.c
@@ -295,7 +295,8 @@ xfs_file_open(
STATIC int
xfs_file_close(
- struct file *filp)
+ struct file *filp,
+ fl_owner_t id)
{
return -bhv_vop_close(vn_from_inode(filp->f_dentry->d_inode), 0,
file_count(filp) > 1 ? L_FALSE : L_TRUE, NULL);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] xfs: update ->flush method proto
2006-06-25 20:15 [PATCH] xfs: update ->flush method proto Alexey Dobriyan
@ 2006-06-25 20:32 ` Al Viro
0 siblings, 0 replies; 2+ messages in thread
From: Al Viro @ 2006-06-25 20:32 UTC (permalink / raw)
To: Alexey Dobriyan; +Cc: Andrew Morton, xfs, linux-fsdevel
On Mon, Jun 26, 2006 at 12:15:29AM +0400, Alexey Dobriyan wrote:
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
ACK. Another in the same direction and that should cover it (patch
is incremental, not replacement)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
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)
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-25 20:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-25 20:15 [PATCH] xfs: update ->flush method proto Alexey Dobriyan
2006-06-25 20:32 ` Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).