summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorJavier González <jg@lightnvm.io>2017-04-15 21:55:42 +0300
committerJens Axboe <axboe@fb.com>2017-04-16 19:06:25 +0300
commitedee1bdd66bf0fda46a176bc3ee5c992dbbc466e (patch)
treee899f7abec10a0cffd5e89883411360efcab8a4f /scripts/gdb/linux/lists.py
parentb0e0306ce14180baee00cea9be5600eef6750af8 (diff)
downloadlinux-edee1bdd66bf0fda46a176bc3ee5c992dbbc466e.tar.xz
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 <javier@cnexlabs.com> Fix style. Signed-off-by: Matias Bjørling <matias@cnexlabs.com> Signed-off-by: Matias Bjørling <matias@cnexlabs.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions