From patchwork Fri May 18 13:03:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Pen X-Patchwork-Id: 10410721 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 34FB360353 for ; Fri, 18 May 2018 13:08:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25EC0285A4 for ; Fri, 18 May 2018 13:08:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1AB3A2860A; Fri, 18 May 2018 13:08:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A0079285A4 for ; Fri, 18 May 2018 13:08:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752266AbeERNHh (ORCPT ); Fri, 18 May 2018 09:07:37 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:56061 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752507AbeERNF3 (ORCPT ); Fri, 18 May 2018 09:05:29 -0400 Received: by mail-wm0-f65.google.com with SMTP id a8-v6so13993267wmg.5 for ; Fri, 18 May 2018 06:05:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=profitbricks-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=5LKrurnvo5I6X3kqMWGHZT72UBBsdfOArGyufDL2zZM=; b=bwzxeVC+TNwgHggjw0Q9955tVvPYEG/5OJuv5Dnf5PqnJP7looF4wISgJzCBgN1za0 0U8iunxY5+pIwk0gcVBmJoMNC9iw7jaIc24fC82v3nix8eCvbWV+zqmaApvGtBVoxKfV NLDPn8DTReLr2oGGnggHlbtNoJrR2HwaHRZIDGVUwMToMW9niA3y0mAOnp5MGa4thaXx 8j3huD5tZKYfIHoZAyxUHWefIvpu4P6wxRz2I2X+E6FJfvfcHN3SYs0XWi0UWc66z1rP SYehmWh+oKbcjEDptzjnF9mJkIOSJU7s1LW/J7PVz1550F61pNgQ/4MPpDm4ivvpmesS TGXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=5LKrurnvo5I6X3kqMWGHZT72UBBsdfOArGyufDL2zZM=; b=hMLMq3A2dZvOnjp8h2Czn9MyFMIfBhRSOtFCB7iXx8WVhm3ClGWh93kDKCCZqStXWy Yi8xbGQqDLS/fzmRZ2M9KSm/YS+HOaVYskROF4tEl/grXjhqd/t+mNi+dZO7iWOUiwCT j7VAJUe8Te+NDxsJJx60Ga0R3TGNKBUVKIRLuLtMQB/ldjsV3nCnI4y20tX6eP9BZdiD 75BuawNd87wLiLQ/tH7PsK9Q7M+4QXomBrUEQtLbY6xCnmJlCRk2km7dFqFV9cIBq7TJ F+Rp2D5LaODpAXIRr6pNhbtj1XNDX4gxnCHKD3yjjKr67pp3HbjGAzDQLlLMuwlJpFF1 FU0A== X-Gm-Message-State: ALKqPwfHNftEOlUn1Q5tT3GIag3QBMHrTABlj9cAEWZORsbmT3x5vwix E04piPaD86x12ua9WmqZwhNJM7O1 X-Google-Smtp-Source: AB8JxZpyLeplvH3gfvAN0MJxrQj1twtHAsm5p6vM1/sxgRq+xruXlvWeZj9XkpF+XplnkYwbIhUWpw== X-Received: by 2002:a1c:3449:: with SMTP id b70-v6mr4384233wma.42.1526648728212; Fri, 18 May 2018 06:05:28 -0700 (PDT) Received: from pb.pb.local ([62.217.45.26]) by smtp.gmail.com with ESMTPSA id m35-v6sm7639980wrm.51.2018.05.18.06.05.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 06:05:27 -0700 (PDT) From: Roman Pen To: linux-block@vger.kernel.org, linux-rdma@vger.kernel.org Cc: Jens Axboe , Christoph Hellwig , Sagi Grimberg , Bart Van Assche , Or Gerlitz , Doug Ledford , Swapnil Ingle , Danil Kipnis , Jack Wang , Roman Pen , Tejun Heo , linux-kernel@vger.kernel.org Subject: [PATCH v2 02/26] sysfs: export sysfs_remove_file_self() Date: Fri, 18 May 2018 15:03:49 +0200 Message-Id: <20180518130413.16997-3-roman.penyaev@profitbricks.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20180518130413.16997-1-roman.penyaev@profitbricks.com> References: <20180518130413.16997-1-roman.penyaev@profitbricks.com> Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Function is going to be used in transport over RDMA module in subsequent patches. Signed-off-by: Roman Pen Cc: Tejun Heo Cc: linux-kernel@vger.kernel.org Acked-by: Tejun Heo --- fs/sysfs/file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c index 5c13f29bfcdb..ff7443ac2aa7 100644 --- a/fs/sysfs/file.c +++ b/fs/sysfs/file.c @@ -444,6 +444,7 @@ bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr) kernfs_put(kn); return ret; } +EXPORT_SYMBOL_GPL(sysfs_remove_file_self); void sysfs_remove_files(struct kobject *kobj, const struct attribute **ptr) {