From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754327AbcAMHTM (ORCPT ); Wed, 13 Jan 2016 02:19:12 -0500 Received: from mail.linux-iscsi.org ([67.23.28.174]:44657 "EHLO linux-iscsi.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751255AbcAMHTJ (ORCPT ); Wed, 13 Jan 2016 02:19:09 -0500 Message-ID: <1452669546.27508.25.camel@haakon3.risingtidesystems.com> Subject: Re: [PATCH-v2 1/4] tcm_fc: Convert acl lookup to modern get_initiator_node_acl usage From: "Nicholas A. Bellinger" To: Christoph Hellwig Cc: "Nicholas A. Bellinger" , target-devel , linux-scsi , lkml , Sagi Grimberg , Hannes Reinecke , Andy Grover , Vasu Dev , Vu Pham Date: Tue, 12 Jan 2016 23:19:06 -0800 In-Reply-To: <20160112150200.GA2058@lst.de> References: <1452457724-10629-1-git-send-email-nab@daterainc.com> <1452457724-10629-2-git-send-email-nab@daterainc.com> <20160112150200.GA2058@lst.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2016-01-12 at 16:02 +0100, Christoph Hellwig wrote: > On Sun, Jan 10, 2016 at 08:28:41PM +0000, Nicholas A. Bellinger wrote: > > From: Nicholas Bellinger > > > > This patch does a simple conversion of tcm_fc code to use > > proper modern core_tpg_get_initiator_node_acl() lookup using > > se_node_acl->acl_kref, and drops the legacy list walk from > > ft_acl_get(). > > > > Note the original lookup also took node_name into account, > > but since ft_init_nodeacl() only ever sets port_name for > > se_node_acl->acl_group within configfs, this is purely > > a mechanical change. > > Please remove ft_acl_get and fold it's new implementation into the > caller. The later patches actually remove the usage of it but keep it > around, but it would be much better to kill it off here. Done.