summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2019-02-15 00:16:15 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2019-03-14 13:57:30 -0700
commit6a19f801501c559f98ef9c46f41ff2e51d72eb4b (patch)
treec4a43a9d6b1ffae593ab6427aba0d7f28922b91d /tools/perf/scripts/python/export-to-postgresql.py
parent52bff3f6ce0fd6e9324236600cfee2780a66ffb7 (diff)
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions