diff options
-rw-r--r-- | fs/jffs2/super.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c index 3f1c90c2bdf8..1613cd283042 100644 --- a/fs/jffs2/super.c +++ b/fs/jffs2/super.c | |||
@@ -333,9 +333,6 @@ static void jffs2_put_super (struct super_block *sb) | |||
333 | 333 | ||
334 | jffs2_dbg(2, "%s()\n", __func__); | 334 | jffs2_dbg(2, "%s()\n", __func__); |
335 | 335 | ||
336 | if (sb->s_dirt) | ||
337 | jffs2_write_super(sb); | ||
338 | |||
339 | mutex_lock(&c->alloc_sem); | 336 | mutex_lock(&c->alloc_sem); |
340 | jffs2_flush_wbuf_pad(c); | 337 | jffs2_flush_wbuf_pad(c); |
341 | mutex_unlock(&c->alloc_sem); | 338 | mutex_unlock(&c->alloc_sem); |