From owner-svn-src-stable@FreeBSD.ORG Sat Jan 3 18:27:05 2015 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 06347D7C; Sat, 3 Jan 2015 18:27:05 +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 E6B0C34CB; Sat, 3 Jan 2015 18:27:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t03IR4wl092406; Sat, 3 Jan 2015 18:27:04 GMT (envelope-from mav@FreeBSD.org) Received: (from mav@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t03IR4fT092405; Sat, 3 Jan 2015 18:27:04 GMT (envelope-from mav@FreeBSD.org) Message-Id: <201501031827.t03IR4fT092405@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mav set sender to mav@FreeBSD.org using -f From: Alexander Motin Date: Sat, 3 Jan 2015 18:27:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r276628 - stable/10/sys/dev/iscsi X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jan 2015 18:27:05 -0000 Author: mav Date: Sat Jan 3 18:27:03 2015 New Revision: 276628 URL: https://svnweb.freebsd.org/changeset/base/276628 Log: MFC r274033 (by trasz): s/icl_pdu_new/icl_pdu_new_empty/g; no functional changes. Modified: stable/10/sys/dev/iscsi/icl.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/iscsi/icl.c ============================================================================== --- stable/10/sys/dev/iscsi/icl.c Sat Jan 3 18:09:53 2015 (r276627) +++ stable/10/sys/dev/iscsi/icl.c Sat Jan 3 18:27:03 2015 (r276628) @@ -152,7 +152,7 @@ icl_conn_receive(struct icl_conn *ic, si } static struct icl_pdu * -icl_pdu_new(struct icl_conn *ic, int flags) +icl_pdu_new_empty(struct icl_conn *ic, int flags) { struct icl_pdu *ip; @@ -197,7 +197,7 @@ icl_pdu_new(struct icl_conn *ic, int fla { struct icl_pdu *ip; - ip = icl_pdu_new(ic, flags); + ip = icl_pdu_new_empty(ic, flags); if (ip == NULL) return (NULL); @@ -547,7 +547,7 @@ icl_conn_receive_pdu(struct icl_conn *ic if (ic->ic_receive_state == ICL_CONN_STATE_BHS) { KASSERT(ic->ic_receive_pdu == NULL, ("ic->ic_receive_pdu != NULL")); - request = icl_pdu_new(ic, M_NOWAIT); + request = icl_pdu_new_empty(ic, M_NOWAIT); if (request == NULL) { ICL_DEBUG("failed to allocate PDU; " "dropping connection");