aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorIgor Konopko <[email protected]>2018-06-01 16:41:08 +0200
committerJens Axboe <[email protected]>2018-06-01 09:02:53 -0600
commitf142ac0b5d18547a9614a697f86820ee35fd7bf0 (patch)
treef801d30c4a6fe2b2dc0a3cdb419e495fab2f3f85 /tools/perf/util/scripting-engines/trace-event-python.c
parent6cf17a2f838db707dc8a69fe96f3565f2f4f61e6 (diff)
lightnvm: proper error handling for pblk_bio_add_pages
Currently in case of error caused by bio_pc_add_page in pblk_bio_add_pages two issues occur when calling from pblk_rb_read_to_bio(). First one is in pblk_bio_free_pages, since we are trying to free pages not allocated from our mempool. Second one is the warn from dma_pool_free, that we are trying to free NULL pointer dma. This commit fix both issues. Signed-off-by: Igor Konopko <[email protected]> Signed-off-by: Marcin Dziegielewski <[email protected]> Signed-off-by: Matias Bjørling <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions