[Yaffs] Flush cache on umount

Todd Poynor tpoynor at mvista.com
Tue Mar 14 02:33:29 GMT 2006


On Wed, Mar 08, 2006 at 09:07:51PM +1300, Charles Manning wrote:
...
> Solution: Flush out the YAFFS cache as part of yaffs_put_super...

Hello Charles -- A modest patch suggested to remove a compile warning.
Thanks -- Todd

Index: yaffs_guts.h
===================================================================
RCS file: /home/aleph1/cvs/yaffs2/yaffs_guts.h,v
retrieving revision 1.20
diff -u -r1.20 yaffs_guts.h
--- yaffs_guts.h	8 Mar 2006 07:59:20 -0000	1.20
+++ yaffs_guts.h	14 Mar 2006 02:26:21 -0000
@@ -704,6 +704,7 @@
 yaffs_Object *yaffs_MknodFile(yaffs_Object * parent, const YCHAR * name,
 			      __u32 mode, __u32 uid, __u32 gid);
 int yaffs_FlushFile(yaffs_Object * obj, int updateTime);
+void yaffs_FlushEntireDeviceCache(yaffs_Device *dev);
 
 /* Directory operations */
 yaffs_Object *yaffs_MknodDirectory(yaffs_Object * parent, const YCHAR * name,



More information about the yaffs mailing list