freebsd-dev/sys/cam/scsi
Yaroslav Tykhiy b7c8a7976f Release the reference to the peripheral if returning a error.
That reference is to be held only if daopen() has been successful
and until daclose() releases it.  daclose() won't be called if
daopen() has failed, though.

Approved by:	re, njl
MFC after:	1 week
2002-11-29 15:40:10 +00:00
..
scsi_all.c A SCSI_DELAY of zero is a legitimate value to have. 2002-09-23 04:56:35 +00:00
scsi_all.h Fix the location of the length bytes in the 12-byte read/write CDB 2002-10-08 17:12:44 +00:00
scsi_cd.c Allow acd(4) and cd(4) to support old behavior for CDRIOC*SPEED ioctls. 2002-11-23 22:51:50 +00:00
scsi_cd.h * Add CDRIOC{READ,WRITE}SPEED ioctls to cd(4). Units are in KB/sec. 2002-10-18 22:03:39 +00:00
scsi_ch.c Be consistent about "static" functions: if the function is marked 2002-09-28 17:15:38 +00:00
scsi_ch.h
scsi_da.c Release the reference to the peripheral if returning a error. 2002-11-29 15:40:10 +00:00
scsi_da.h
scsi_dvcfg.h
scsi_iu.h scsi_message.h: 2002-06-05 19:05:01 +00:00
scsi_low_pisa.c o Add KLD support for scsi_low. 2001-12-15 12:32:23 +00:00
scsi_low_pisa.h Remove __P. 2002-03-20 08:56:31 +00:00
scsi_low.c Panic message should end with \n. 2002-11-14 05:03:11 +00:00
scsi_low.h use __packed. 2002-09-23 18:54:32 +00:00
scsi_message.h scsi_message.h: 2002-06-05 19:05:01 +00:00
scsi_pass.c Remove usage of cam_extend.c, replace with dev->si_drv1 2002-08-15 20:54:03 +00:00
scsi_pass.h
scsi_pt.c Remove usage of cam_extend.c, replace with dev->si_drv1 2002-08-15 20:54:03 +00:00
scsi_pt.h
scsi_sa.c Panic message should end with \n. 2002-11-14 05:03:11 +00:00
scsi_sa.h
scsi_ses.c Fix instances of macros with improperly parenthasized arguments. 2002-11-09 12:55:07 +00:00
scsi_ses.h
scsi_targ_bh.c Remove usage of cam_extend.c, replace with dev->si_drv1 2002-08-15 20:54:03 +00:00
scsi_target.c Remove unnecessary includes and add sys/{lock,mutex}.h 2002-11-25 19:28:05 +00:00
scsi_targetio.h New SCSI target emulator code 2002-11-22 22:55:51 +00:00