Date: Tue, 5 Dec 2017 23:02:32 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r326602 - head/sys/cam/scsi Message-ID: <201712052302.vB5N2WNS061618@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712052302.vB5N2WNS061618>