Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2017 19:00:06 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r322821 - head/sys/dev/isp
Message-ID:  <201708231900.v7NJ06K5040950@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708231900.v7NJ06K5040950>