Maemo patchset 20101501+0m5
[h-e-n] / fs / gfs2 / ops_super.c
index d5355d9..f5e7635 100644 (file)
@@ -196,7 +196,7 @@ static void gfs2_put_super(struct super_block *sb)
 
 static void gfs2_write_super(struct super_block *sb)
 {
-       sb->s_dirt = 0;
+       mark_sb_clean(sb);
 }
 
 /**
@@ -208,7 +208,7 @@ static void gfs2_write_super(struct super_block *sb)
 
 static int gfs2_sync_fs(struct super_block *sb, int wait)
 {
-       sb->s_dirt = 0;
+       mark_sb_clean(sb);
        if (wait && sb->s_fs_info)
                gfs2_log_flush(sb->s_fs_info, NULL);
        return 0;