From patchwork Mon May 11 13:51:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danil Kipnis X-Patchwork-Id: 11540823 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6E3B615AB for ; Mon, 11 May 2020 13:53:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4C67A2080C for ; Mon, 11 May 2020 13:53:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=cloud.ionos.com header.i=@cloud.ionos.com header.b="FE5d1H+J" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730152AbgEKNxI (ORCPT ); Mon, 11 May 2020 09:53:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730158AbgEKNxI (ORCPT ); Mon, 11 May 2020 09:53:08 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8E99C05BD0A for ; Mon, 11 May 2020 06:53:07 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id l11so5167784wru.0 for ; Mon, 11 May 2020 06:53:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloud.ionos.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Lsw/Iaiux+MLh4zGmzRDP0c55QH0mpEc78oqXzNiG98=; b=FE5d1H+JCXwrPfWWVUSjdCEORrTF5KH5QEwN0eKZ5RekgQ9yCjVJRgfUBSKFVvI0kk IQDaQaLZECPBBUD1IEuB//5mRQ5kDvCw+yZuWq78HFJ/AQnA/PcdMKnAFS8nxzDq7gk7 bUfIsRuqNr5F2CwE8s8BLhDJ3y/Bkdz5o+0esyL2lnasdMYxIUY0YemT4ZDCkgZM5iD3 MYcETM3NiBlFLnHlUAtcnPL8OCctyMZmTu0og9i5DB6UCg0OoZrfhrbyyFFdgU3VPhsC xBWwu/kllU39dID7325H2WRqDuFMFIlSOH19oM3WtmRfISXMJu6PL++RT1d6oDehHbNH KkaQ== 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:mime-version:content-transfer-encoding; bh=Lsw/Iaiux+MLh4zGmzRDP0c55QH0mpEc78oqXzNiG98=; b=PfTnHU3wnQ2boFTBpl6pdcXwMpMON7e63+l1FA975eHgNSzVMbsoVtVebUtNY5yi/9 6bc+eqS4Up4a8nqJPv5sO+Iv2V/1ZQoOyw7lBTxCQDQ9KXrzuqo1eLF6r87d0RPNjBRL G7LDP+Zx2cNsNa24rNMVLXiRnyB9v6WmeXi1J9//s6wHVRGH+BCuxx+OYg9cwZm2XfPC Sc5jC03AShOzDAAvKGTeAWDR/4DHnCzglGWlOVRIX/iLU2qihmQIPTu+67K7Prhf9vjT E8SjGqA3jY17K2F5GO5W9GW3R1T2sAxXhrAg/Su9lDCXvuDRgaB096LlsA7DimlYj5Na +grA== X-Gm-Message-State: AGi0PubeKEmFrKtb8Q75aq7DU/PLHm6oODI03hFXoQX4xGKWKB1VY/hc gTSATnHkpCVCktq85r7MO2kpf0sV7uO6bQg= X-Google-Smtp-Source: APiQypKLR7w5vtkQydqOzRJhjmHfs8vunCC7k4wUj/rDfBqhz40FPYcftWjvftN1NJnhpSr26EDm0A== X-Received: by 2002:a05:6000:1045:: with SMTP id c5mr4880337wrx.31.1589205186193; Mon, 11 May 2020 06:53:06 -0700 (PDT) Received: from dkxps.local (dslb-002-204-227-207.002.204.pools.vodafone-ip.de. [2.204.227.207]) by smtp.gmail.com with ESMTPSA id v205sm9220018wmg.11.2020.05.11.06.53.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 06:53:05 -0700 (PDT) From: Danil Kipnis To: linux-block@vger.kernel.org, linux-rdma@vger.kernel.org Cc: axboe@kernel.dk, hch@infradead.org, sagi@grimberg.me, bvanassche@acm.org, leon@kernel.org, dledford@redhat.com, jgg@ziepe.ca, danil.kipnis@cloud.ionos.com, jinpu.wang@cloud.ionos.com, pankaj.gupta@cloud.ionos.com, Roman Pen , Tejun Heo , linux-kernel@vger.kernel.org Subject: [PATCH v15 01/25] sysfs: export sysfs_remove_file_self() Date: Mon, 11 May 2020 15:51:07 +0200 Message-Id: <20200511135131.27580-2-danil.kipnis@cloud.ionos.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200511135131.27580-1-danil.kipnis@cloud.ionos.com> References: <20200511135131.27580-1-danil.kipnis@cloud.ionos.com> MIME-Version: 1.0 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org From: Jack Wang Function is going to be used in transport over RDMA module in subsequent patches, so export it to GPL modules. Signed-off-by: Roman Pen Acked-by: Tejun Heo Cc: linux-kernel@vger.kernel.org [jwang: extend the commit message] Signed-off-by: Jack Wang Reviewed-by: Bart Van Assche --- fs/sysfs/file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c index 26bbf960e2a2..d81f9f974a35 100644 --- a/fs/sysfs/file.c +++ b/fs/sysfs/file.c @@ -492,6 +492,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 * const *ptr) {