From patchwork Thu Feb 11 19:04:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 8284731 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 40A8FBEEE5 for ; Thu, 11 Feb 2016 19:20:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4AD962025B for ; Thu, 11 Feb 2016 19:20:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 45F4A200E9 for ; Thu, 11 Feb 2016 19:20:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750752AbcBKTUR (ORCPT ); Thu, 11 Feb 2016 14:20:17 -0500 Received: from mail-bn1bon0068.outbound.protection.outlook.com ([157.56.111.68]:1429 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750966AbcBKTUH (ORCPT ); Thu, 11 Feb 2016 14:20:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Sgx6TCcTlmweC51l2/OelMwosf/TQh9p1qd9bwxZqcU=; b=eBd0BjyheeUdcpzJD3tWaBzDhAa4JVynzFFerl6j0b/UOkRQ8/LuXTCCkOL7JwPghvUbmCcFoe5YECea+4wZGa+EIfZyGbGInCPt/jCbOqEe9q5R4FWuQlDAnS8sYVCNn48MeYNSGwK69j9bXjhjG6wGAKQbExZuwPzSIpx97iQ= Received: from BLUPR02CA046.namprd02.prod.outlook.com (10.160.23.164) by BL2PR02MB290.namprd02.prod.outlook.com (10.141.90.145) with Microsoft SMTP Server (TLS) id 15.1.403.16; Thu, 11 Feb 2016 19:04:04 +0000 Received: from BL2FFO11FD010.protection.gbl (2a01:111:f400:7c09::109) by BLUPR02CA046.outlook.office365.com (2a01:111:e400:8ad::36) with Microsoft SMTP Server (TLS) id 15.1.403.16 via Frontend Transport; Thu, 11 Feb 2016 19:04:04 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.174) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.174 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.174; helo=milsmgep12.sandisk.com; Received: from milsmgep12.sandisk.com (63.163.107.174) by BL2FFO11FD010.mail.protection.outlook.com (10.173.161.16) with Microsoft SMTP Server id 15.1.415.6 via Frontend Transport; Thu, 11 Feb 2016 19:04:03 +0000 Received: from MILHUBIP04.sdcorp.global.sandisk.com ( [172.22.12.162]) by (Symantec Messaging Gateway) with SMTP id 7B.1E.03682.22BDCB65; Thu, 11 Feb 2016 11:04:02 -0800 (PST) Received: from milsmgip12.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.248.2; Thu, 11 Feb 2016 11:04:02 -0800 X-AuditID: ac160a69-d37ff70000000e62-3e-56bcdb22c631 Received: from [10.60.52.49] ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id AB.73.03361.22BDCB65; Thu, 11 Feb 2016 11:04:02 -0800 (PST) Subject: [PATCH v4 03/21] IB/srpt: Remove struct srpt_node_acl To: Doug Ledford References: <56BCDAAD.7030906@sandisk.com> CC: Christoph Hellwig , Sagi Grimberg , "Alex Estrin" , "linux-rdma@vger.kernel.org" From: Bart Van Assche Message-ID: <56BCDB22.5070907@sandisk.com> Date: Thu, 11 Feb 2016 11:04:02 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56BCDAAD.7030906@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrGLMWRmVeSWpSXmKPExsWyRoxnka7S7T1hBnv+W1pcePqdyeLl+Q+s FitXH2WyeHaol8XiRtsDNgdWj8V7XjJ57L7ZwObxbPphJo/3+66yeXzeJBfAGsVlk5Kak1mW WqRvl8CVsXoBZ8FRnoqO9bdYGxhPc3UxcnJICJhIvPt6i62LkYtDSGATo8SqheehnB2MEq9v drPAVG3bfggqMYdR4lnPIzaQhLCAnUTnrytgtoiAmsSmV4vYQWwhAS2J5/39rCANzAKrGCU2 Xb0OlmATMJL49n4m2FRekKLPtxhBbBYBVYkNv/+A2aICERKHO7vYIWoEJU7OfAJUz8HBKaAt MfNKBIjJLKApsX6XPkgFs4C8xPa3c5hBVkkIbGOVmH/7GhPEDeoSJ5fMZ5rAKDwLyaRZCO2z kLQvYGRexSiWm5lTnJueWmBopFecmJeSWZytl5yfu4kRHBtcmTsYV0wyP8QowMGoxMNrcGtP mBBrYllxZe4hRgkOZiUR3vubgEK8KYmVValF+fFFpTmpxYcYpTlYlMR5rVvUwoQE0hNLUrNT UwtSi2CyTBycUg2MEv7r3zqWc+Xwaz6z2+0pGr0oTN5VrqSp4byAYdVqzmk+tlIzbnOlNR+9 Zvql427VtYkSh0/wJDOXbBFO++btKfBwQfMsKzebLIbzN9/FLN9lk+rC5nfux6QVEk940rLM W/4IH1lo/a0iae2F5/ev281deTlTXf8/w5XH7VemzNVnDd5jmDtPiaU4I9FQi7moOBEAuW4x TYkCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrLJMWRmVeSWpSXmKPExsXCtZEjRVfp9p4wg+U7VS0uPP3OZPHy/AdW i5WrjzJZPDvUy2Jxo+0BmwOrx+I9L5k8dt9sYPN4Nv0wk8f7fVfZPD5vkgtgjeKySUnNySxL LdK3S+DKWL2As+AoT0XH+lusDYynuboYOTkkBEwktm0/xNbFyMUhJDCLUWL9i5+MIAlhATuJ zl9X2EBsEQE1iU2vFrGD2EICWhLP+/tZQRqYBVYxSvxe+QGsiE3ASOLb+5ksIDYvSNHnW2CD WARUJTb8/gNmiwpESBzu7GKHqBGUODnzCVA9BwengLbEzCsRIGFmAXWJP/MuMUPY8hLb385h nsDINwtJxywkZbOQlC1gZF7FKJabmVOcm55ZYGikV5yYl5JZnK2XnJ+7iREcoJxROxivTzQ/ xMjEwSnVwKicpxfNfoZHTKKWsUnGiM3EoMpR8ELj61dcDW+c2tqudRnsFXWq4YmRlnp4QWTG VbU1CzfanlpdouPPerG++k/VvcLvLzwvHI3MbpVtSuk/4XFg5eQplRdEbU48V1kmxb1tVrLl 4xMSZ4O25+1hZnL1Kt17kK/Ev3nKpMe715nFHnteub8oQomlOCPRUIu5qDgRAODwMbgAAgAA X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD010; 1:DfF+bYKcxtLyJ5tALYy4AResh6BNU+VcAc7CR4uuipqvLlnyH4GfoiJZG7z+ou/lbrQ5lMF6nCvTDuqBkt0HZRp28+NxwWJopOb0mplM95/zfgufN6FKmGamGXF0SkmOYsjn8HdRQ1BtnM+hxsrwE6F4gte1ntOtZSWOWPmv+gjsJFg+HwD96zQbE5Z4OiHmB07Obb5kqUQJvwqrVFDQR/GUwIaHScjJa1KhOhbMXgOcJRgohzpqa3XHhOJVTEDbMF/Lgi3qHN4r8yFFXNFkvrE62TTPSnJm0JYbjAqktEh2Wf1OlwjPugm3dDAGlkzhjlmgtuotUNkuEHm5PbWtUc+IyyTslGi0UXLkbEVI0JS7xWbHPc0I0QcI76CZE44tEROf8zIHN5jOUF/Qrx+kL2Ra2c0uFPCsgj/173WiNkNrTScU/p6R/8J1ob96zt8FL9m2GiCT58gQEyVFzGMffA== X-Forefront-Antispam-Report: CIP:63.163.107.174; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(438002)(199003)(189002)(19580405001)(5001960100002)(2906002)(189998001)(575784001)(92566002)(4326007)(65806001)(33656002)(50466002)(86362001)(11100500001)(230700001)(5008740100001)(1220700001)(65956001)(59896002)(23676002)(586003)(64126003)(1096002)(54356999)(87266999)(50986999)(47776003)(65816999)(76176999)(2950100001)(77096005)(19580395003)(106466001)(4001350100001)(229853001)(80316001)(87936001)(36756003)(83506001); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR02MB290; H:milsmgep12.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2PR02MB290; 2:xJC7t7MSwTuLI4eJz9Ryxlnj2gbXQeA9ApQ0HsvrpM+79q7mTrjz3KxmLwJNIyVcGhGCm5VJxVoL9dLR5Y6/Pfm5DchC11VlK103qRZmcCXnzvIRzVuhAcv6MrunNsJM2FJDX9KeZPa57wjRbWOHVQ==; 3:KDRxrudGJXh45V3sip/DJwRN6RYr9OnznkhlKRq5neHMoughwwz+FgSGPBgFGzkfZUyrOV8SRyFdzynajOEGU8y5r+oFkNjxqzX+p2NRahdS9R6Qmd4hOJizyhmblpeUKYbYlyEqY4Vx69ymNs4mWtRn+M/9o4+Fn/C8HtQF5ZzeMpzOohmsfLGeCoDfKZKK1oXUYnqTJvfarg6xsh/ZW8ZxX/Hb45xJWK1pWb1Gol6Raz6vmX/W1pmhRuZdl3K5pfyX4t+4Y+rLpgxQijx+JA==; 25:qra9UXytkuZuhftRFzIU+ZvyCkVsw1LPZaWKVkal179HuiKFBluMoGZCuufXg+7Jqq+7scXbtp4wP3Q0YmEOHWhlcfMMNU+/BjFGEwsKCuvqpRDyBcrhV9EBgikZTL/xCH1zxrPf65sOQb/ueAqoWvSJila4oBGXmuXnaGDaVFVvDprBYfBFhbSL2nUj72p6EZqPxRZW3qgfgimo2gRb8eSdtdTX55ot7+ZaQDfQkotmIYJo7sT/QRbcuhNnZ2XHrAORw+EWDoKyVC3rQNHCfHWtxWz1tWf6cYscOco6tj4jXwtpE3dtgoC967Zpgsvc X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501001); SRVR:BL2PR02MB290; X-MS-Office365-Filtering-Correlation-Id: 677a752d-c40d-48f0-2629-08d333161bc4 X-Microsoft-Exchange-Diagnostics: 1; BL2PR02MB290; 20:B/w2GAm74/WGEaspLMwriJBbM9AYaQGV7ugb9HdlTuX4sxhcgi9Z7zmbNz785kT9h8PC3pKWIa6bP82C59w9cq7DMdTufwUVOvHhe+cQylIHv0BvxIpCenve96oizQVl3bWYd04WJQwXJk2kuUUtkHnRFHIxsIGw4l+OPQvg4wQhp2uVopI5VcUDdrpnz+Zy2IQEVnggISpmh/LeTnL3KLZq7IDfEThtMtB9IMH6i4Et1aVcsEqBqtL8/Wq6ZOIA0YoFuvmCIZBi+zLXRbpp3qzamKnhDzaHSFgWei7LoSxCHQmyvZ3y1ILPmCfFnUaYx8Rfvqql7oEj4n3/hyCKBdWofG8uCcd9aOldC6KVDI/mDnmf0glepnajQ7WxojX5RugyjjOOkSynpdcN86lwknqIuczivjnteBYojvO2/CDajKgZ4Avdsf85g5jbkPMPHMsLbdDG7Qyp+Rg1NYLx+AI2EV6VFJVOo7APL6VrRwgrKtLR4nssaSja4mdv/hKB X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13023025)(13015025)(13024025)(13017025)(13018025)(5005006)(8121501046)(3002001)(10201501046); SRVR:BL2PR02MB290; BCL:0; PCL:0; RULEID:; SRVR:BL2PR02MB290; X-Microsoft-Exchange-Diagnostics: 1; BL2PR02MB290; 4:jPIojbvToKjjsqNnWlTSfSkknnTyit5yutGbCyigL9VtnnZqNV/kZzi0vwfJ9zoeDD2ZBl7ae0hefhhThm+nhrfBvyyTJC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TmoxdlJXUTZkUkpidWFNUzdpajJLeVJLRTBDUWgrSEpwL2dZdTJw?= =?utf-8?B?MVE3YXVURGdpd21hT1ZXZDJ1aHZGTkVqTUhjYWk2M0VqdlRoeFFaR1R3cDRm?= =?utf-8?B?d01BPT0=?= X-Microsoft-Exchange-Diagnostics: 1; BL2PR02MB290; 5:BTmO2NGJ7+f1/sr/rbSzbr0Y/hLcJwytif25MpB9hzvJK6j5Ppd0UOOoooXHSGZWK2CVlTlboz4wwGrNifUCCevd9Ih5oKqQnUq6PrOAcPRNZgo57K+q+ioPDFRRwBHd4mMyNymVM0UXa5OuB2VAgw==; 24:egQ4EHkTVxO/ecf73QkyFyxv/6Cz8dv99bi5MgsOLPCGJ/fyIUfg21Lvl+1n5ulS4RxW/azlauRTNl59K3nBh52hOeO4dEwFQ6uSEjT2csY=; 20:reXi0BAKhcMzriU3QVNC77lHM/YgxackQSvqomVr0BOVf6gp0qpnZHoMYf5neiqS8jReTvqaqqwBY71rlm3wcptpo5ydqLa3UUKN+w0SfmGgzWGjmVLJfbedRC8FOfCy2LXnrJO0DCuuSFj8dv92xmdk/Pc0UFLBUGNucOfwFQAix/ow2TkOSly16GxH7yKqYDqhHvhHdw7/6QiDIVUL2qd6Ylpk+BZDuqz24DY/MNXMZCGkwAaiKLyyxfhxhms7 SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2016 19:04:03.2204 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.174]; Helo=[milsmgep12.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR02MB290 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since struct srpt_node_acl is identical to struct se_node_acl, remove the definition of the former structure. This patch does not change any functionality. Signed-off-by: Bart Van Assche Reviewed-by: Christoph Hellwig Reviewed-by: Alex Estrin Cc: Sagi Grimberg --- drivers/infiniband/ulp/srpt/ib_srpt.c | 1 - drivers/infiniband/ulp/srpt/ib_srpt.h | 8 -------- 2 files changed, 9 deletions(-) diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.c b/drivers/infiniband/ulp/srpt/ib_srpt.c index 4ee9678..9f5cd3f 100644 --- a/drivers/infiniband/ulp/srpt/ib_srpt.c +++ b/drivers/infiniband/ulp/srpt/ib_srpt.c @@ -3508,7 +3508,6 @@ static struct configfs_attribute *srpt_wwn_attrs[] = { static const struct target_core_fabric_ops srpt_template = { .module = THIS_MODULE, .name = "srpt", - .node_acl_size = sizeof(struct srpt_node_acl), .get_fabric_name = srpt_get_fabric_name, .tpg_get_wwn = srpt_get_fabric_wwn, .tpg_get_tag = srpt_get_tag, diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.h b/drivers/infiniband/ulp/srpt/ib_srpt.h index 09037f2..b0ede97 100644 --- a/drivers/infiniband/ulp/srpt/ib_srpt.h +++ b/drivers/infiniband/ulp/srpt/ib_srpt.h @@ -363,12 +363,4 @@ struct srpt_device { struct list_head list; }; -/** - * struct srpt_node_acl - Per-initiator ACL data (managed via configfs). - * @nacl: Target core node ACL information. - */ -struct srpt_node_acl { - struct se_node_acl nacl; -}; - #endif /* IB_SRPT_H */