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

Warner Losh imp at FreeBSD.org
Tue Dec 5 23:02:33 UTC 2017


Author: imp
Date: Tue Dec  5 23:02:31 2017
New Revision: 326602
URL: https://svnweb.freebsd.org/changeset/base/326602

Log:
  Remove stray cam_periph_async call. It's called twice this way. While
  currently harmless for AC_UNIT_ATTENTION event (cam_periph_async does
  nothing with them), it's still in error because if it were to start in
  the future, it would be done twice.
  
  Sponsored by: Netflix

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

Modified: head/sys/cam/scsi/scsi_da.c
==============================================================================
--- head/sys/cam/scsi/scsi_da.c	Tue Dec  5 23:00:41 2017	(r326601)
+++ head/sys/cam/scsi/scsi_da.c	Tue Dec  5 23:02:31 2017	(r326602)
@@ -1919,7 +1919,6 @@ daasync(void *callback_arg, u_int32_t code,
 				dareprobe(periph);
 			}
 		}
-		cam_periph_async(periph, code, path, arg);
 		break;
 	}
 	case AC_SCSI_AEN:


More information about the svn-src-all mailing list