]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/fat/misc.c
[PATCH] fat: move fat_clusters_flush() to write_super()
[linux-2.6-omap-h63xx.git] / fs / fat / misc.c
index 2a0df2122f5d3d8294a943c6f0cb16bd4a83f50c..9b592e37e259e6e4ceac33bbe97cf7cb8fbe1b35 100644 (file)
@@ -67,8 +67,6 @@ void fat_clusters_flush(struct super_block *sb)
                if (sbi->prev_free != -1)
                        fsinfo->next_cluster = cpu_to_le32(sbi->prev_free);
                mark_buffer_dirty(bh);
-               if (sb->s_flags & MS_SYNCHRONOUS)
-                       sync_dirty_buffer(bh);
        }
        brelse(bh);
 }