aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nilfs2/super.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c
index ebbefb9d26c9..e543eda0d939 100644
--- a/fs/nilfs2/super.c
+++ b/fs/nilfs2/super.c
@@ -313,9 +313,6 @@ static void nilfs_put_super(struct super_block *sb)
313 313
314 lock_kernel(); 314 lock_kernel();
315 315
316 if (sb->s_dirt)
317 nilfs_write_super(sb);
318
319 nilfs_detach_segment_constructor(sbi); 316 nilfs_detach_segment_constructor(sbi);
320 317
321 if (!(sb->s_flags & MS_RDONLY)) { 318 if (!(sb->s_flags & MS_RDONLY)) {