f2fs: remove unreachable lazytime mount option parsing
authorEric Sandeen <sandeen@redhat.com>
Sat, 29 Jun 2024 04:38:17 +0000 (23:38 -0500)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 10 Jul 2024 22:47:57 +0000 (22:47 +0000)
commit54f43a10fa257ad4af02a1d157fefef6ebcfa7dc
tree8d2d087a10d3dede6c8bbaccf49ce589e0c4f391
parentc82bc1ab2a8a5e73d9728e80c4c2ed87e8921a38
f2fs: remove unreachable lazytime mount option parsing

The lazytime/nolazytime options are now handled in the VFS, and are
never seen in filesystem parsers, so remove handling of these
options from f2fs.

Note: when lazytime support was added in 6d94c74ab85f it made
lazytime the default in default_options() - as a result, lazytime
cannot be disabled (because Opt_nolazytime is never seen in f2fs
parsing).

If lazytime is desired to be configurable, and default off is OK,
default_options() could be updated to stop setting it by default
and allow mount option control.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c