Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3645295ybz; Mon, 4 May 2020 07:05:24 -0700 (PDT) X-Google-Smtp-Source: APiQypL8uurdA2aODszkhDCLuE4Pkx/r4LrZjVCXNdCUI0jtPi8S3UjcA5rNXOz2bUz7NVBwMXik X-Received: by 2002:a05:6402:1587:: with SMTP id c7mr14009998edv.61.1588601123932; Mon, 04 May 2020 07:05:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588601123; cv=none; d=google.com; s=arc-20160816; b=HxY8ll3MQ6paTqb7I5A7eR/oqKaxxCPKTpBJ7oHjUgEkfXWqsYU07K1RD1hereGiS4 x8oemC1LzRNkVOgj56gE8ElL2PWLOFJPnatRpT5vKPPsXdP+U5EB/Icvt/7C+6KBcQwi mm0DJZ9Q3onMEk/G4EaUPb7YUM7hO6m0Mox9J9eWJHyp+d5jvr1VuSAJnGN+lkcVAIl7 xNhNGoXTmpUxXzonaohAAsiQjCCLpcR+5yZRchWRYZB64UecpRyXnWgcAd5fmiPHwffI TqrFictWJ79UatKmC2EinLQaNOVGbjQdITJwM87m5v3Uctkh5j2l/xPn4419+yXjy6Uj 4e/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Lsw/Iaiux+MLh4zGmzRDP0c55QH0mpEc78oqXzNiG98=; b=x8m9vES0LVc83ohYz0daXusaPN0ewEasFp6fEwcXp0pwk46UjhjkDFjdnv5CVrRqsG EKq2FWamBIPIPTTRdWz2E/DhT5MEU/R+AhQiEZq3aDUhFu1vxoFW4ohWMCUcIxuzCaxG iNIoWsC/h1SODnUSrScgv/e1cCi+MdIwLLUWmqyweItIWI0SMfBdE7WMt+BOD647LQTx yQJr5lgQRL4T/zccghoqRA+QCfExHUL3MvQrOplIxNemPz6roSb+jLz3kliE/OSsrNxG 7AmLHk6iN5QT2xZdKSsJEaSvppBMl0zRFk9aezulbSzl2oKNVuKM37v9nQKaBnNpqS3z BWFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cloud.ionos.com header.s=google header.b=RgbKZmFq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id da12si6328165edb.439.2020.05.04.07.04.30; Mon, 04 May 2020 07:05:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cloud.ionos.com header.s=google header.b=RgbKZmFq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728511AbgEDOCJ (ORCPT + 99 others); Mon, 4 May 2020 10:02:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727831AbgEDOCJ (ORCPT ); Mon, 4 May 2020 10:02:09 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB98EC061A0E for ; Mon, 4 May 2020 07:02:08 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id d15so21087189wrx.3 for ; Mon, 04 May 2020 07:02:08 -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=RgbKZmFqtSSkJM6d+r5UTD3fUFXVDRnzQp23TIXzDrRGHn5MpNGi72hvI3l3ubk9pe FkVK54x9z/STdAe3z3T2RGXOK1JThD/mhEipCgwbbxX3xuyqDMg9qTbenKhqEkavm0Hz VOUTt3Ui/eDvBcnYlmUbAA97xMmIDY0U+Fh2bVom6M+z7pld8bCI5DiPNB7LWx1d1O35 jwOH1fF9gaeiQMyVcJ1nWVkoAUHZS7wz/ioPvBbOv18aVUPRdK7ymn2VwgkXYNwrhnI9 u2BdUhEB8cwuuqiLdsR5IOIEcW/XFoH3zhXHWijX5IZYugEMFc18JHAPKbZYktY4XAb+ qWLg== 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=aqZlwNNpnEiym9aGWeUBLs/DhaW/3Es6kDam6VYU34vBHOE0l/jY/BzFxJd9n5w+A8 Q39PXLakz5SdY+1R0ef0JSdxMlE9V3F5I80Kn8mGl4hUKlGy1urqkm0ZsyGih1wg/TsO d1jj82dtFuakQfLztUPwra93vwrE6RSopVrbkD0aWtDpiqiFNuP2DHAtFy6J6ghPmcTY v/Q/hSw4rqQmiOhAwFgNDDdQjt6LBSCc8dsYL9oOUFt3uqcYeTnei/9hryG09v47gcVM Uu3wBGVXKG8a0VRqOMQl23nbSCnVHSRvkFWV+H3HThmJbvmT4W1qElUScswG4qvWqk8I D+eQ== X-Gm-Message-State: AGi0PubH/1delaVOQL+WxFR6Tbxaulq56ldtziMD9z2dhe1sCq0rs4Az D2bjJz4xQSJQphV0pqXJSaNr X-Received: by 2002:adf:bb84:: with SMTP id q4mr18473359wrg.141.1588600927121; Mon, 04 May 2020 07:02:07 -0700 (PDT) Received: from dkxps.fkb.profitbricks.net (dslb-002-204-227-207.002.204.pools.vodafone-ip.de. [2.204.227.207]) by smtp.gmail.com with ESMTPSA id a13sm11681559wrv.67.2020.05.04.07.02.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 May 2020 07:02:06 -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 v14 01/25] sysfs: export sysfs_remove_file_self() Date: Mon, 4 May 2020 16:00:51 +0200 Message-Id: <20200504140115.15533-2-danil.kipnis@cloud.ionos.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200504140115.15533-1-danil.kipnis@cloud.ionos.com> References: <20200504140115.15533-1-danil.kipnis@cloud.ionos.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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) { -- 2.20.1