[Yaffs] [YAFFS 09/10] Update interface of fsync callback

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Waldemar Rymarkiewicz
Date:  
To: yaffs
CC: Waldemar Rymarkiewicz, manningc2
Old-Topics: [Yaffs] [YAFFS 00/10] Add support of v3.2 kernel in single flavour of yaffs
Subject: [Yaffs] [YAFFS 09/10] Update interface of fsync callback
Signed-off-by: Waldemar Rymarkiewicz <>
---
 yaffs_vfs_single.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/yaffs_vfs_single.c b/yaffs_vfs_single.c
index 21de368..24ab384 100644
--- a/yaffs_vfs_single.c
+++ b/yaffs_vfs_single.c
@@ -436,7 +436,7 @@ static int yaffs_unlink(struct inode *dir, struct dentry *dentry)
     return -ENOTEMPTY;
 }


-static int yaffs_sync_object(struct file *file, int datasync)
+static int yaffs_sync_object(struct file *file, loff_t start, loff_t end, int datasync)
{

     struct yaffs_obj *obj;
-- 
1.7.8