f2fs: relocate readdir_ra configure initialization
authorChao Yu <yuchao0@huawei.com>
Mon, 11 Jun 2018 10:02:01 +0000 (18:02 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 27 Jul 2018 09:03:59 +0000 (18:03 +0900)
commit4cac90d5491c9a157909b9d45128997d35624e01
tree8a1b892449e0aa65ded4f176523d6ad5a16d151e
parent0aa7e0f8c0a0246ea7f407e32b7277ec9c084c15
f2fs: relocate readdir_ra configure initialization

readdir_ra is sysfs configuration instead of mount option, so it should
not be initialized in default_options(), otherwise after remount, it can
be reset to be enabled which may not as user wish, so let's move it to
f2fs_tuning_parameters().

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