diff options
author | 2015-11-20 13:47:53 +0100 | |
---|---|---|
committer | 2015-11-20 08:33:14 -0700 | |
commit | 480fc0db819d706ea5608545a12d33cf8d5a31ab (patch) | |
tree | 0d3b5af91393d96ef5903327a85ec549b00cf052 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | null_blk: do not del gendisk with lightnvm (diff) | |
download | linux-dev-480fc0db819d706ea5608545a12d33cf8d5a31ab.tar.xz linux-dev-480fc0db819d706ea5608545a12d33cf8d5a31ab.zip |
lightnvm: wrong return value and redundant free
The return value should be non-zero under error conditions.
Remove nvme_free(dev) to avoid free dev more than once.
Signed-off-by: Wenwei Tao <ww.tao0320@gmail.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions