Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2017 06:28:09 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r323013 - stable/11/sys/dev/isp
Message-ID:  <201708300628.v7U6S9Nn066335@repo.freebsd.org>

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



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