svn commit: r250557 - head/sys/cam/scsi

Alexander Motin mav at FreeBSD.org
Wed May 15 05:28:10 UTC 2013


Author: mav
Date: Sun May 12 09:33:33 2013
New Revision: 250557
URL: http://svnweb.freebsd.org/changeset/base/250557

Log:
  Suppress error printing for "PREVENT ALLOW MEDIUM REMOVAL" on da open.
  Change at r250208 exposed more errors here, hidden before.  The same flag
  is used in cd driver.

Modified:
  head/sys/cam/scsi/scsi_da.c

Modified: head/sys/cam/scsi/scsi_da.c
==============================================================================
--- head/sys/cam/scsi/scsi_da.c	Sun May 12 06:20:54 2013	(r250556)
+++ head/sys/cam/scsi/scsi_da.c	Sun May 12 09:33:33 2013	(r250557)
@@ -3355,7 +3355,7 @@ daprevent(struct cam_periph *periph, int
 		     5000);
 
 	error = cam_periph_runccb(ccb, daerror, CAM_RETRY_SELTO,
-	    SF_RETRY_UA | SF_QUIET_IR, softc->disk->d_devstat);
+	    SF_RETRY_UA | SF_NO_PRINT, softc->disk->d_devstat);
 
 	if (error == 0) {
 		if (action == PR_ALLOW)
_______________________________________________
svn-src-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"


More information about the svn-src-head mailing list