Date: Sat, 5 Jul 2014 01:24:07 +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: r268275 - head/sys/cam/ctl Message-ID: <201407050124.s651O7Pf010118@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407050124.s651O7Pf010118>