JFFS2 not honouring MS_RDONLY flag on mount?

David Woodhouse dwmw2 at infradead.org
Tue Mar 30 08:03:29 EST 2004


On Tue, 2004-03-30 at 12:55 +0200, Richard_Theil at dadebehring.com wrote:
> It seems that somewhere on the path into jffs2_get_sb_mtd(), the flags 
> passed as parameter _should_ be honoured, but are not. This would have to happen
> before jffs2_do_fill_super is called, because in there, the collector 
> thread is started if the fs is flagged r/w.

I've committed a patch which adds the slightly simpler alternative
'sb->s_flags = flags' in the place you suggested. Thanks.

> (*) Well, I had to find out the "rootfstype" thing the hard way...

Yeah -- I meant to do something about that, and make it so you could
mount by partition name as root, like you can later. It didn't make 2.6
though.

-- 
dwmw2




More information about the linux-mtd mailing list