svn commit: r322821 - head/sys/dev/isp

Alexander Motin mav at FreeBSD.org
Wed Aug 23 19:00:07 UTC 2017


Author: mav
Date: Wed Aug 23 19:00:06 2017
New Revision: 322821
URL: https://svnweb.freebsd.org/changeset/base/322821

Log:
  Add missing restart_queue initialization.
  
  MFC after:	1 week

Modified:
  head/sys/dev/isp/isp_freebsd.c

Modified: head/sys/dev/isp/isp_freebsd.c
==============================================================================
--- head/sys/dev/isp/isp_freebsd.c	Wed Aug 23 17:56:55 2017	(r322820)
+++ head/sys/dev/isp/isp_freebsd.c	Wed Aug 23 19:00:06 2017	(r322821)
@@ -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-all mailing list