Need to ensure the underlying flash does not cache anything even though the file system thinks it's synced back. Signed-off-by: Clayton Shotwell <clayton.shotwell@xxxxxxxxxxxxxxxxxxx> --- fs/jffs2/super.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c index 05d892c..4341565 100644 --- a/fs/jffs2/super.c +++ b/fs/jffs2/super.c @@ -111,6 +111,7 @@ static int jffs2_sync_fs(struct super_block *sb, int wait) mutex_lock(&c->alloc_sem); jffs2_flush_wbuf_pad(c); mutex_unlock(&c->alloc_sem); + mtd_sync(c->mtd); return 0; } -- 1.9.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/