]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/ufs/super.c
remove ->write_super call in generic_shutdown_super
[net-next-2.6.git] / fs / ufs / super.c
index 60359291761f2eb2a8229f053b1d5763c19115c6..74afb9fbf58e31b87d2fe93b0e00bb15c8431522 100644 (file)
@@ -1152,6 +1152,9 @@ static void ufs_put_super(struct super_block *sb)
                
        UFSD("ENTER\n");
 
+       if (sb->s_dirt)
+               ufs_write_super(sb);
+
        if (!(sb->s_flags & MS_RDONLY))
                ufs_put_super_internal(sb);