projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rtems-yaffs: Checkpoint the filesystem at unmount time
[yaffs2.git]
/
rtems
/
rtems_yaffs.c
diff --git
a/rtems/rtems_yaffs.c
b/rtems/rtems_yaffs.c
index 6e018aa7746606211c110c57438fbca46a26dfc6..8ee0b899baecb1d51d3a8dcf257803bbccf88095 100644
(file)
--- a/
rtems/rtems_yaffs.c
+++ b/
rtems/rtems_yaffs.c
@@
-641,6
+641,7
@@
static void ryfs_fsunmount(rtems_filesystem_mount_table_entry_t *mt_entry)
ylock(dev);
yaffs_flush_whole_cache(dev, 1);
+ yaffs_checkpoint_save(dev);
yaffs_deinitialise(dev);
yunlock(dev);
rtems_yaffs_os_unmount(dev);