Chao Yu 6d52e135c8 f2fs: don't allow negative ->write_io_size_bits
As Dan reported:

"We put an upper bound on ->write_io_size_bits but we don't have a lower
bound."

So let's add lower bound check for ->write_io_size_bits in parse_options().

[We don't allow configuring ->write_io_size_bits to zero, since at least
we need to fill one dummy page for aligned IO.]

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2019-03-05 19:58:06 -08:00
..
2018-12-26 15:16:53 -08:00
2018-09-12 13:07:10 -07:00
2018-09-12 13:07:10 -07:00
2018-09-12 13:07:10 -07:00
2019-02-04 08:55:34 -08:00
2018-09-12 13:07:10 -07:00
2019-02-15 20:59:46 -08:00
2018-09-12 13:07:10 -07:00