aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJavier González <[email protected]>2017-04-15 20:55:42 +0200
committerJens Axboe <[email protected]>2017-04-16 10:06:25 -0600
commitedee1bdd66bf0fda46a176bc3ee5c992dbbc466e (patch)
treee899f7abec10a0cffd5e89883411360efcab8a4f /tools/perf/util/scripting-engines/trace-event-python.c
parentb0e0306ce14180baee00cea9be5600eef6750af8 (diff)
lightnvm: double-clear of dev->lun_map on target init error
The dev->lun_map bits are cleared twice if an target init error occurs. First in the target clean routine, and then next in the nvm_tgt_create error function. Make sure that it is only cleared once by extending nvm_remove_tgt_devi() with a clear bit, such that clearing of bits can ignored when cleaning up a successful initialized target. Signed-off-by: Javier González <[email protected]> Fix style. Signed-off-by: Matias Bjørling <[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