svn commit: r323013 - stable/11/sys/dev/isp

Alexander Motin mav at FreeBSD.org
Wed Aug 30 06:28:10 UTC 2017


Author: mav
Date: Wed Aug 30 06:28:09 2017
New Revision: 323013
URL: https://svnweb.freebsd.org/changeset/base/323013

Log:
  MFC r322821: Add missing restart_queue initialization.

Modified:
  stable/11/sys/dev/isp/isp_freebsd.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/isp/isp_freebsd.c
==============================================================================
--- stable/11/sys/dev/isp/isp_freebsd.c	Wed Aug 30 02:08:34 2017	(r323012)
+++ stable/11/sys/dev/isp/isp_freebsd.c	Wed Aug 30 06:28:09 2017	(r323013)
@@ -971,6 +971,7 @@ create_lun_state(ispsoftc_t *isp, int bus, struct cam_
 	tptr->ts_lun = lun;
 	SLIST_INIT(&tptr->atios);
 	SLIST_INIT(&tptr->inots);
+	STAILQ_INIT(&tptr->restart_queue);
 	ISP_GET_PC_ADDR(isp, bus, lun_hash[LUN_HASH_FUNC(lun)], lhp);
 	SLIST_INSERT_HEAD(lhp, tptr, next);
 	*rslt = tptr;


More information about the svn-src-stable-11 mailing list