[Yaffs] Flush cache on umount

Charles Manning manningc2 at actrix.gen.nz
Tue Mar 14 20:29:50 GMT 2006


On Tuesday 14 March 2006 15:33, Todd Poynor wrote:
> 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,

It is already there ( a bit further up). Compiles clean for me.

-- Charles



More information about the yaffs mailing list