From owner-svn-src-head@FreeBSD.ORG Sat Jul 5 01:24:07 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4EBF49FD; Sat, 5 Jul 2014 01:24:07 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3C66C2681; Sat, 5 Jul 2014 01:24:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s651O7qE010119; Sat, 5 Jul 2014 01:24:07 GMT (envelope-from mav@svn.freebsd.org) Received: (from mav@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s651O7Pf010118; Sat, 5 Jul 2014 01:24:07 GMT (envelope-from mav@svn.freebsd.org) Message-Id: <201407050124.s651O7Pf010118@svn.freebsd.org> From: Alexander Motin Date: Sat, 5 Jul 2014 01:24:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268275 - head/sys/cam/ctl X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2014 01:24:07 -0000 Author: mav Date: Sat Jul 5 01:24:06 2014 New Revision: 268275 URL: http://svnweb.freebsd.org/changeset/base/268275 Log: Use proper links field for ports linking. Modified: head/sys/cam/ctl/ctl_frontend.c Modified: head/sys/cam/ctl/ctl_frontend.c ============================================================================== --- head/sys/cam/ctl/ctl_frontend.c Sat Jul 5 01:14:14 2014 (r268274) +++ head/sys/cam/ctl/ctl_frontend.c Sat Jul 5 01:24:06 2014 (r268275) @@ -162,7 +162,7 @@ ctl_port_register(struct ctl_port *port, mtx_lock(&control_softc->ctl_lock); port->targ_port = port_num + (master_shelf != 0 ? 0 : CTL_MAX_PORTS); port->max_initiators = CTL_MAX_INIT_PER_PORT; - STAILQ_INSERT_TAIL(&port->frontend->port_list, port, links); + STAILQ_INSERT_TAIL(&port->frontend->port_list, port, fe_links); STAILQ_INSERT_TAIL(&control_softc->port_list, port, links); control_softc->ctl_ports[port_num] = port; mtx_unlock(&control_softc->ctl_lock);