Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2013 09:40:24 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r255554 - stable/9/sys/cam/scsi
Message-ID:  <201309140940.r8E9eO7N011699@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309140940.r8E9eO7N011699>