wbuf flush or remount ro

Simon Haynes simon at baydel.com
Fri May 7 09:42:05 EDT 2004


David,

Just to recap 

It seems that the latest jffs2 CVS code does not flush wbuf when the 
filesystem is remounted read only. This can cause a gc operation to be 
abnormally terminated an error messages are generated on remount.

A while ago you suggested I do something like this. See attached 

I don't really know how to create a patch file so here is a diff and a patch.
If the patch is not correct would you please enlighten me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fs.patch
Type: text/x-diff
Size: 818 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20040507/d81e7a8e/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fs.diff
Type: text/x-diff
Size: 901 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20040507/d81e7a8e/attachment-0001.bin 


More information about the linux-mtd mailing list