aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jffs2/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jffs2/super.c')
-rw-r--r--fs/jffs2/super.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c
index 9a80e8e595d0..662bba099501 100644
--- a/fs/jffs2/super.c
+++ b/fs/jffs2/super.c
@@ -63,8 +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 jffs2_garbage_collect_trigger(c);
67 jffs2_erase_pending_blocks(c, 0);
68 jffs2_flush_wbuf_gc(c, 0); 66 jffs2_flush_wbuf_gc(c, 0);
69 } 67 }
70 68
@@ -137,7 +135,7 @@ static const struct super_operations jffs2_super_operations =
137 .write_super = jffs2_write_super, 135 .write_super = jffs2_write_super,
138 .statfs = jffs2_statfs, 136 .statfs = jffs2_statfs,
139 .remount_fs = jffs2_remount_fs, 137 .remount_fs = jffs2_remount_fs,
140 .clear_inode = jffs2_clear_inode, 138 .evict_inode = jffs2_evict_inode,
141 .dirty_inode = jffs2_dirty_inode, 139 .dirty_inode = jffs2_dirty_inode,
142 .sync_fs = jffs2_sync_fs, 140 .sync_fs = jffs2_sync_fs,
143}; 141};