[GFS2] Fix incorrect fs sync behaviour.
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 1 Nov 2006 14:57:57 +0000 (09:57 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 6 Nov 2006 13:59:16 +0000 (08:59 -0500)
commit4a221953ed121692aa25998451a57c7f4be8b4f6
tree28361de426beea85a97812293841d1f28a9e4a67
parenteb1dc33aa235b0e44ada6716cda385883c6e6bff
[GFS2] Fix incorrect fs sync behaviour.

This adds a sync_fs superblock operation for GFS2 and removes
the journal flush from write_super in favour of sync_fs where it
ought to be. This is more or less identical to the way in which ext3
does this.

This bug was pointed out by Russell Cattelan <cattelan@redhat.com>

Cc: Russell Cattelan <cattelan@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/ops_super.c