f2fs: wrap all options with f2fs_sb_info.mount_opt
authorChao Yu <yuchao0@huawei.com>
Thu, 8 Mar 2018 06:22:56 +0000 (14:22 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 8 Apr 2018 11:13:32 +0000 (04:13 -0700)
commit1e64d3ed27534ec81fd0cdafbab2d381e0af5a0d
treea339e2e552b97866616bbc43578328fb5d6d0fb0
parent7f270a67a1da90ff6c8e5cf681d7a520e3025c4b
f2fs: wrap all options with f2fs_sb_info.mount_opt

This patch merges miscellaneous mount options into struct f2fs_mount_info,
After this patch, once we add new mount option, we don't need to worry
about recovery of it in remount_fs(), since we will recover the
f2fs_sb_info.mount_opt including all options.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/dir.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/namei.c
fs/f2fs/segment.c
fs/f2fs/super.c
fs/f2fs/sysfs.c
include/linux/f2fs_fs.h