]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/jffs2/super.c
Merge remote-tracking branch 'efi/chainsaw' into x86/efi
[karo-tx-linux.git] / fs / jffs2 / super.c
index ff487954cd96f1447b254b28a41fcdbd82b61b55..0defb1cc2a3520d6f5f67cc880f91d0e9fe5b244 100644 (file)
@@ -100,6 +100,10 @@ static int jffs2_sync_fs(struct super_block *sb, int wait)
 {
        struct jffs2_sb_info *c = JFFS2_SB_INFO(sb);
 
+#ifdef CONFIG_JFFS2_FS_WRITEBUFFER
+       cancel_delayed_work_sync(&c->wbuf_dwork);
+#endif
+
        mutex_lock(&c->alloc_sem);
        jffs2_flush_wbuf_pad(c);
        mutex_unlock(&c->alloc_sem);
@@ -352,6 +356,7 @@ static struct file_system_type jffs2_fs_type = {
        .mount =        jffs2_mount,
        .kill_sb =      jffs2_kill_sb,
 };
+MODULE_ALIAS_FS("jffs2");
 
 static int __init init_jffs2_fs(void)
 {