PERFORCE change 114083 for review
Scott Long
scottl at FreeBSD.org
Tue Feb 6 00:52:31 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=114083
Change 114083 by scottl at scottl-x64 on 2007/02/06 00:51:50
Clean up a LINT problem.
Affected files ...
.. //depot/projects/scottl-camlock/src/sys/cam/scsi/scsi_da.c#22 edit
Differences ...
==== //depot/projects/scottl-camlock/src/sys/cam/scsi/scsi_da.c#22 (text+ko) ====
@@ -572,10 +572,6 @@
return (ENXIO);
}
- CAM_DEBUG(periph->path, CAM_DEBUG_TRACE,
- ("daopen: disk=%s%d (unit %d)\n", dp->d_name, dp->d_unit,
- unit));
-
if ((error = cam_periph_lock(periph, PRIBIO|PCATCH)) != 0)
return (error); /* error code from tsleep */
@@ -588,6 +584,10 @@
softc = (struct da_softc *)periph->softc;
softc->flags |= DA_FLAG_OPEN;
+ CAM_DEBUG(periph->path, CAM_DEBUG_TRACE,
+ ("daopen: disk=%s%d (unit %d)\n", dp->d_name, dp->d_unit,
+ unit));
+
if ((softc->flags & DA_FLAG_PACK_INVALID) != 0) {
/* Invalidate our pack information. */
softc->flags &= ~DA_FLAG_PACK_INVALID;
More information about the p4-projects
mailing list