hfsplus: always use hfsplus_sync_fs to write the volume header
commit3b5ce8ae31e3c66655207907527476bbd3e5063b
authorChristoph Hellwig <hch@tuxera.com>
Tue, 23 Nov 2010 13:37:43 +0000 (23 14:37 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 23 Nov 2010 13:37:43 +0000 (23 14:37 +0100)
tree5e4cb140be6865e3b67b45a705ab405f1cd94f30
parent6d1bbfc4c0458c514126ccf7d6ce9232d9dbc872
hfsplus: always use hfsplus_sync_fs to write the volume header

Remove opencoded writing of the volume header in hfsplus_fill_super
and hfsplus_put_super and offload it to hfsplus_sync_fs.  In the
put_super case this means we only write the superblock once instead
of twice.

Signed-off-by: Christoph Hellwig <hch@tuxera.com>
fs/hfsplus/super.c