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:
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to