remove ->write_super call in generic_shutdown_super
[safe/jmp/linux-2.6] / fs / super.c
index 721236e..d9a29d5 100644 (file)
@@ -311,8 +311,6 @@ void generic_shutdown_super(struct super_block *sb)
                invalidate_inodes(sb);
                lock_kernel();
 
-               if (sop->write_super && sb->s_dirt)
-                       sop->write_super(sb);
                if (sop->put_super)
                        sop->put_super(sb);