yaffs: Batter read-only support handling
authorCharles Manning <cdhmanning@gmail.com>
Tue, 10 Aug 2010 00:38:32 +0000 (12:38 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Tue, 10 Aug 2010 00:38:32 +0000 (12:38 +1200)
commit4c78eb9aa16a108e258ab6185f37a51c3b413cb8
tree7fe0a4f5a8893c6237441151507ddd6e2c41e09a
parentca0474074161712816ce1ead07dcc83c4e2ebe29
yaffs: Batter read-only support handling

Check read only flags in both the mount flags and mtd flags.

If the mount is read only then don't do some clean ups or start the
background gc thread.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs_fs.c
yaffs_guts.c