Date: Sun, 1 Nov 2009 11:31:06 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/cam cam_xpt.c cam_xpt_internal.h src/sys/cam/ata ata_xpt.c src/sys/cam/scsi scsi_xpt.c Message-ID: <200911011131.nA1BVQPj038894@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mav 2009-11-01 11:31:06 UTC FreeBSD src repository Modified files: sys/cam cam_xpt.c cam_xpt_internal.h sys/cam/ata ata_xpt.c sys/cam/scsi scsi_xpt.c Log: SVN rev 198748 on 2009-11-01 11:31:06Z by mav MFp4: Fix reference counting bug, when device unreferenced before then invalidated. To do it, do not handle validity flag as another reference, but explicitly modify reference count each time flag is modified. Discovered by: thompsa Revision Changes Path 1.11 +6 -1 src/sys/cam/ata/ata_xpt.c 1.231 +24 -21 src/sys/cam/cam_xpt.c 1.4 +3 -3 src/sys/cam/cam_xpt_internal.h 1.6 +17 -5 src/sys/cam/scsi/scsi_xpt.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911011131.nA1BVQPj038894>