]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
hfs: remove extra mdb write on unmount
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 12 Jul 2012 14:28:46 +0000 (17:28 +0300)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Jul 2012 19:58:07 +0000 (23:58 +0400)
commita3742d4828caeffab4cb075b562a4ed92d3e74d6
treeb7f6a29a79b976460a7880622bf5cf750086e2ce
parentb59352359d6555aa8537d74ac9b15c1c6bcf3c68
hfs: remove extra mdb write on unmount

HFS calls 'hfs_write_super()' from 'hfs_put_super()' in order to write the MDB
to the media. However, it is not needed because VFS calls '->sync_fs()' before
calling '->put_super()' - so by the time we are in 'hfs_write_super()', the MDB
is already synchronized.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/hfs/super.c