]> git.baikalelectronics.ru Git - kernel.git/commit
hfsplus: always use hfsplus_sync_fs to write the volume header
authorChristoph Hellwig <hch@tuxera.com>
Tue, 23 Nov 2010 13:37:43 +0000 (14:37 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 23 Nov 2010 13:37:43 +0000 (14:37 +0100)
commit0e7b76e30e1647f26b156a54ff4ee4942be3b9aa
tree5e4cb140be6865e3b67b45a705ab405f1cd94f30
parentdf3d77f87ecfb4804a2f4e29274bf1d074c5b04a
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