projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix vfs calls to yaffs_flush_file
[yaffs2.git]
/
yaffs_vfs_single.c
diff --git
a/yaffs_vfs_single.c
b/yaffs_vfs_single.c
index 232dc2625328a7173509456dcf227c7411d9da5b..2d6c991d46969bd06afaf1cc78ae9db279132d6c 100644
(file)
--- a/
yaffs_vfs_single.c
+++ b/
yaffs_vfs_single.c
@@
-450,7
+450,7
@@
static int yaffs_sync_object(struct file *file,
yaffs_trace(YAFFS_TRACE_OS | YAFFS_TRACE_SYNC, "yaffs_sync_object");
yaffs_gross_lock(dev);
yaffs_trace(YAFFS_TRACE_OS | YAFFS_TRACE_SYNC, "yaffs_sync_object");
yaffs_gross_lock(dev);
- yaffs_flush_file(obj, 1, datasync);
+ yaffs_flush_file(obj, 1, datasync
, 0
);
yaffs_gross_unlock(dev);
return 0;
}
yaffs_gross_unlock(dev);
return 0;
}
@@
-890,7
+890,7
@@
static int yaffs_file_flush(struct file *file, fl_owner_t id)
yaffs_gross_lock(dev);
yaffs_gross_lock(dev);
- yaffs_flush_file(obj, 1, 0);
+ yaffs_flush_file(obj, 1, 0
, 0
);
yaffs_gross_unlock(dev);
yaffs_gross_unlock(dev);
@@
-1496,7
+1496,7
@@
static void yaffs_flush_inodes(struct super_block *sb)
if (obj) {
yaffs_trace(YAFFS_TRACE_OS,
"flushing obj %d", obj->obj_id);
if (obj) {
yaffs_trace(YAFFS_TRACE_OS,
"flushing obj %d", obj->obj_id);
- yaffs_flush_file(obj, 1, 0);
+ yaffs_flush_file(obj, 1, 0
, 0
);
}
}
}
}
}
}