summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2011-12-13 09:58:05 +0000
committermav <mav@FreeBSD.org>2011-12-13 09:58:05 +0000
commitb2bc09ab331217387974604e2bdbfe2e8c1a78c3 (patch)
tree7e6d00f5664ff5d55856051a66b4508ed5d91484 /sbin
parentbe30d3045736836c9dc1bbc09ffb3e17094c4b73 (diff)
downloadFreeBSD-src-b2bc09ab331217387974604e2bdbfe2e8c1a78c3.zip
FreeBSD-src-b2bc09ab331217387974604e2bdbfe2e8c1a78c3.tar.gz
Fix few bugs in isp(4) target mode support:
- in destroy_lun_state() assert hold == 1 instead of 0, as it should receive hold taken by the create_lun_state() or get_lun_statep() before; - fix hold count leak inside rls_lun_statep() that also fired above assert; - in destroy_lun_state() use SIM bus number instead of SIM path id for ISP_GET_PC_ADDR(), as it was before r196008; - make isp_disable_lun() to set status in CCB; - make isp_target_mark_aborted() set status into the proper CCB. Reviewed by: mjacob Sponsored by: iXsystems, inc. MFC after: 1 month
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud