yaffs Mark superblock dirty on writes
authorCharles Manning <cdhmanning@gmail.com>
Sun, 15 Aug 2010 22:25:51 +0000 (10:25 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Sun, 15 Aug 2010 22:25:51 +0000 (10:25 +1200)
commita68d918cfe5bb99c51521a71e73a31d5f1dec8ed
tree1883bdd6b005cadb31817ec658d3b44686a5b85a
parent87b146cb7bc31e574084000364d6462e6469bf7d
yaffs  Mark superblock dirty on writes

Previosly superblock dirtying only happened on writes to NAND. This was
not sufficient to ensure that small cached writes would be written out
by a sync. This could cause data loss in a loop-mounted device.

We now also mark all Linux writes as dirty.

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