Date: Tue, 6 Feb 2007 00:52:14 GMT From: Scott Long <scottl@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 114083 for review Message-ID: <200702060052.l160qEWP002793@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=114083 Change 114083 by scottl@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702060052.l160qEWP002793>