aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJavier González <javier@javigon.com>2018-06-01 15:04:23 +0200
committerJens Axboe <axboe@kernel.dk>2018-06-01 07:43:53 -0600
commit6f9c9607d445a05267eb4830e5375535f5a547a2 (patch)
treec0b396d03dece80503fc00f093102d4c11e1a6db /tools/perf/scripts/python/export-to-postgresql.py
parentlightnvm: pblk: remove unnecessary argument (diff)
downloadlinux-dev-6f9c9607d445a05267eb4830e5375535f5a547a2.tar.xz
linux-dev-6f9c9607d445a05267eb4830e5375535f5a547a2.zip
lightnvm: pblk: check for chunk size before allocating it
Do the check for the chunk state after making sure that the chunk type is supported. Fixes: 32ef9412c114 ("lightnvm: pblk: implement get log report chunk") Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <mb@lightnvm.io> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions