From patchwork Wed Jun 6 15:24:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Pen X-Patchwork-Id: 10450421 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 5219C60146 for ; Wed, 6 Jun 2018 15:25:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 417FB29771 for ; Wed, 6 Jun 2018 15:25:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 354C0297A8; Wed, 6 Jun 2018 15:25:34 +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=ham 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 6C85B29771 for ; Wed, 6 Jun 2018 15:25:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932206AbeFFPZb (ORCPT ); Wed, 6 Jun 2018 11:25:31 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:52403 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932200AbeFFPZa (ORCPT ); Wed, 6 Jun 2018 11:25:30 -0400 Received: by mail-wm0-f68.google.com with SMTP id p126-v6so12328941wmb.2 for ; Wed, 06 Jun 2018 08:25: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=v4L59tVYcjTa613lodvRBxbp2ehMm3OVfBp/tU3Rvic=; b=Uy8JLtT+3hlYOI7sQuX5vhlwUSQL/1xmgk/sW+WOb3mQmX5/9fyg8YcjhSqNzQtGmg zcYj/4i6mLu4uKMkxSelTjaLkz6tLjTjLBL/AGUhmf+YNH9oFuFzKMyjl31/165i4X4Q KTHGqZWnQVM3/UDmDszEI+lCED6QDwdz5Yfjgdot2HNcNmJUA8BERQFzkSXCCuGlcqdX 77nvj6akdpJ2dW7ogfHYOxWHu5Tq5SuGFeWsBm6cz34aZYY3drnvnBbm7J4ZlNCQmJS5 TYvzsKfBtXuDmE5wvTQZHgz4BH4boO1o2Enq5HRDAY3Z81MQU2ulEt1+Xo9yszOFRZX7 twlQ== 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=v4L59tVYcjTa613lodvRBxbp2ehMm3OVfBp/tU3Rvic=; b=a8tuNOtdt4IHjpR5J33NOYUnOX/6RhPU8UVPWMnGsbnKrgD/S0zkwjFrgol1GUZ7I7 u6GB8v5bhaHoQswPyCLFVIj05qTkdjQNcdlci7zyr+WLKhlDRhM0IFZCjbZU14vYLYLj oOdvL4SGWkZOokoZBl3ZbADoFo3Y1/+psfQKtWyunWWZPo1hLTU5SBWRC27ozh0vW7S6 8VfqQHK5jm8XYAz20AInqXkw2DaX2QBj6uT4EPixRKxEFXpbK4OlkcZV0WBBUo/mxhso jkbcvKng8YgS0G95dnVyirqPIXrkTddaOACb//3bzMZmbf6IVV++gBkHv0svGVMC1mLj D7lQ== X-Gm-Message-State: APt69E2GZy7pwiPpfFAgMQPGDTi59KrRGX71S4//ATOiQijrfovegfdP EEUnyEZLr/qVpEzGS39FABYG2k+9mlyQpQ== X-Google-Smtp-Source: ADUXVKJzMQQdFm9RKAa/efVp9ZD+TkRv5D3FFwi6EgC4AoKjWvmgoBjnWO5p7ld103yzlLH1R15bMA== X-Received: by 2002:a1c:c44c:: with SMTP id u73-v6mr1940046wmf.99.1528298728683; Wed, 06 Jun 2018 08:25:28 -0700 (PDT) Received: from pb.pb.local ([62.217.45.26]) by smtp.gmail.com with ESMTPSA id n11-v6sm18645834wro.13.2018.06.06.08.25.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Jun 2018 08:25: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 , Danil Kipnis , Jack Wang , Roman Pen , linux-kernel@vger.kernel.org Subject: [PATCH v3 01/25] sysfs: export sysfs_remove_file_self() Date: Wed, 6 Jun 2018 17:24:51 +0200 Message-Id: <20180606152515.25807-2-roman.penyaev@profitbricks.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20180606152515.25807-1-roman.penyaev@profitbricks.com> References: <20180606152515.25807-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 Acked-by: Tejun Heo Cc: linux-kernel@vger.kernel.org --- 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) {