f2fs: fix to check upper boundary for gc_no_zoned_gc_percent
authorChao Yu <chao@kernel.org>
Fri, 27 Jun 2025 02:38:18 +0000 (10:38 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 30 Jun 2025 16:44:52 +0000 (16:44 +0000)
commita919ae794ad2dc6d04b3eea2f9bc86332c1630cc
tree6e083e9b688aa9ce121d7f05a43bd4f83fc959ab
parent7a96d1d73ce9de5041e891a623b722f900651561
f2fs: fix to check upper boundary for gc_no_zoned_gc_percent

This patch adds missing upper boundary check while setting
gc_no_zoned_gc_percent via sysfs.

Fixes: 9a481a1c16f4 ("f2fs: create gc_no_zoned_gc_percent and gc_boost_zoned_gc_percent")
Cc: Daeho Jeong <daehojeong@google.com>
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/sysfs.c