svn commit: r255554 - stable/9/sys/cam/scsi

Alexander Motin mav at FreeBSD.org
Sat Sep 14 09:40:25 UTC 2013


Author: mav
Date: Sat Sep 14 09:40:24 2013
New Revision: 255554
URL: http://svnweb.freebsd.org/changeset/base/255554

Log:
  MFC r250557:
  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:
  stable/9/sys/cam/scsi/scsi_da.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/cam/scsi/scsi_da.c
==============================================================================
--- stable/9/sys/cam/scsi/scsi_da.c	Sat Sep 14 09:37:21 2013	(r255553)
+++ stable/9/sys/cam/scsi/scsi_da.c	Sat Sep 14 09:40:24 2013	(r255554)
@@ -3583,7 +3583,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)


More information about the svn-src-all mailing list