projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Flush entire cache at umount
[yaffs2.git]
/
yaffs_fs.c
diff --git
a/yaffs_fs.c
b/yaffs_fs.c
index 101cecf1c62e3729fdade0f99b8ce1dc5708c739..fd5e23f26b557596959313889a3142a263e0b0f6 100644
(file)
--- a/
yaffs_fs.c
+++ b/
yaffs_fs.c
@@
-31,7
+31,7
@@
*/
const char *yaffs_fs_c_version =
*/
const char *yaffs_fs_c_version =
- "$Id: yaffs_fs.c,v 1.4
2 2006-02-08 07:52:51
charles Exp $";
+ "$Id: yaffs_fs.c,v 1.4
3 2006-03-08 07:59:20
charles Exp $";
extern const char *yaffs_guts_c_version;
#include <linux/config.h>
extern const char *yaffs_guts_c_version;
#include <linux/config.h>
@@
-1278,6
+1278,9
@@
static void yaffs_put_super(struct super_block *sb)
yaffs_Device *dev = yaffs_SuperToDevice(sb);
yaffs_GrossLock(dev);
yaffs_Device *dev = yaffs_SuperToDevice(sb);
yaffs_GrossLock(dev);
+
+ yaffs_FlushEntireDeviceCache(dev);
+
if (dev->putSuperFunc) {
dev->putSuperFunc(sb);
}
if (dev->putSuperFunc) {
dev->putSuperFunc(sb);
}