f2fs: check inject_rate validity during configuring
authorChao Yu <yuchao0@huawei.com>
Fri, 4 Jan 2019 09:39:53 +0000 (17:39 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 9 Jan 2019 04:41:09 +0000 (20:41 -0800)
commit36c5733f9570e9052a6437012be8034085f25ab7
tree70f16160e61b763912657c6235bdbf0eec907958
parent8e11403876b1e29d290ea42bb20bf45ef927ef6e
f2fs: check inject_rate validity during configuring

Type of inject_rate is unsigned int, let's check new value's
validity during configuring.

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