fs/ufs: remove extra superblock write on unmount
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 12 Jul 2012 13:28:06 +0000 (16:28 +0300)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Jul 2012 19:58:14 +0000 (23:58 +0400)
commit65e5e83f7d01a3790deb1ba2e0d887e715c43307
tree5849e44f8f27ff1f06e5a6e258401f4dc7abc106
parent9d46be294d12871adf4206f89168b14d27adb8b5
fs/ufs: remove extra superblock write on unmount

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

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