f2fs: fix to restore old mount option in ->remount_fs
authorChao Yu <yuchao0@huawei.com>
Thu, 1 Mar 2018 15:40:32 +0000 (23:40 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 8 Apr 2018 11:13:26 +0000 (04:13 -0700)
commit82bebed3c1fd0162702b7434ec317095fda58c6f
tree0d9b932a6b57b99c5e0361fd0bab30c85e7e5a72
parent808427a63b93aba036d2da80b1e8139f68e1cc62
f2fs: fix to restore old mount option in ->remount_fs

This patch fixes to restore old mount option once we encounter failure
in ->remount_fs.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c