Date: Fri, 29 Nov 2002 07:40:10 -0800 (PST) From: Yar Tikhiy <yar@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/cam/scsi scsi_da.c Message-ID: <200211291540.gATFeA4Y066387@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yar 2002/11/29 07:40:10 PST
Modified files:
sys/cam/scsi scsi_da.c
Log:
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
Revision Changes Path
1.116 +2 -0 src/sys/cam/scsi/scsi_da.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211291540.gATFeA4Y066387>
