diff options
| -rw-r--r-- | fs/jffs2/super.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c index 12cc967c5c03..511e2d609d12 100644 --- a/fs/jffs2/super.c +++ b/fs/jffs2/super.c | |||
| @@ -63,10 +63,6 @@ static void jffs2_write_super(struct super_block *sb) | |||
| 63 | 63 | ||
| 64 | if (!(sb->s_flags & MS_RDONLY)) { | 64 | if (!(sb->s_flags & MS_RDONLY)) { |
| 65 | D1(printk(KERN_DEBUG "jffs2_write_super()\n")); | 65 | D1(printk(KERN_DEBUG "jffs2_write_super()\n")); |
| 66 | spin_lock(&c->erase_completion_lock); | ||
| 67 | jffs2_garbage_collect_trigger(c); | ||
| 68 | spin_unlock(&c->erase_completion_lock); | ||
| 69 | jffs2_erase_pending_blocks(c, 0); | ||
| 70 | jffs2_flush_wbuf_gc(c, 0); | 66 | jffs2_flush_wbuf_gc(c, 0); |
| 71 | } | 67 | } |
| 72 | 68 | ||
