aboutsummaryrefslogtreecommitdiff
path: root/share/examples/scsi_target/scsi_cmds.c
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2011-12-13 09:58:05 +0000
committerAlexander Motin <mav@FreeBSD.org>2011-12-13 09:58:05 +0000
commit45210a2512e1950b3be7240fb727ffc85125c4c6 (patch)
tree7e6d00f5664ff5d55856051a66b4508ed5d91484 /share/examples/scsi_target/scsi_cmds.c
parent2162cff196b43b2e751c50473bf6d30c9495c26a (diff)
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
Notes
Notes: svn path=/head/; revision=228461
Diffstat (limited to 'share/examples/scsi_target/scsi_cmds.c')
0 files changed, 0 insertions, 0 deletions