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>
Wed, 5 Sep 2018 22:07:33 +0000 (15:07 -0700)
commit63d1ae286243714dc49988a2e7f146418c8ec607
treef53f5080898e5101c86896910002c472aa813245
parent4bb15ac86b0033d0a11783685b8fb822b823ab66
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