Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7742225ybl; Thu, 16 Jan 2020 05:00:35 -0800 (PST) X-Google-Smtp-Source: APXvYqzljNBgNpavZWuuCr+1amqTZjOJcEbEgL/ePusDmJS9E55zm4eRMUQ0vt3jHWkwE5ASXWEk X-Received: by 2002:a9d:7357:: with SMTP id l23mr1794845otk.10.1579179634906; Thu, 16 Jan 2020 05:00:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579179634; cv=none; d=google.com; s=arc-20160816; b=0C4oAbzaZ1ZM2LEYl1waQvzHg3Yw+humTgO08IhcoY2ddSh+4WxkqAPNKUrc5PztC7 midKuGGHPtk90EX0QIQTHjRJj4DFkZC8sQHbXfdxCrTPL3LY/r6X04f45hmGSKMV8AHx hSWFHbM1hymbQSV99qgnme2ARyMgPgScYg+8yP1ApHmJvpEgTWj03Rlgzj0MApW7YI0Y ogkBks5OFBuezriBqRMjYG1SxvXQeYA9c6Twj+n+iDG2Z1TORYZ9UGtxLUKdsC/VhCqw c2c0qjlQ0oewXPG2lI/chLXO9os1TsA9l31VMpcGBa1tO8Jv00qOANT8/V4BIbYBJ06h uHpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=JU7gxEFwqK+Oxre///Ayp0+fP1f8xI82V+ZomELLvp4=; b=c+oX3I0TjcOc0zsuInuxNJSRgnd8OC4I04j+0IMD9Q7mDyDnxuWopXnNTQ0opc3Bml dwxcKIwUdLqKn1Of4PFq0RHP2BlDnriUQWCCcRnWcTnemIgW/YZrQ5cYSpliU0oaznWj XNrPIS8hGn2KZCJOj3M0a3rA58tApAlqKh8X5slL4ApQwhYVDIIRR9FFuqQGH1UvVuKl fXGt3Hc07Ok6Sp9H907aXVh3lteC5uDt0tzx/XgWT0qNhlEKeoBPd/FPXeNl0ySTjMjB P+Wn8y99iXOOS75b6KIfVyFL0XWkU1/+H8kuekoUBqNRxC+xW7A5S5l2nhNPDoIjhKx8 AD1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uvRrgWRu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w15si12611606otm.263.2020.01.16.05.00.22; Thu, 16 Jan 2020 05:00:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uvRrgWRu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726812AbgAPM7Z (ORCPT + 99 others); Thu, 16 Jan 2020 07:59:25 -0500 Received: from mail-ed1-f68.google.com ([209.85.208.68]:39765 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726688AbgAPM7V (ORCPT ); Thu, 16 Jan 2020 07:59:21 -0500 Received: by mail-ed1-f68.google.com with SMTP id t17so18825612eds.6; Thu, 16 Jan 2020 04:59:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=JU7gxEFwqK+Oxre///Ayp0+fP1f8xI82V+ZomELLvp4=; b=uvRrgWRu7I86qKQ0Eh/qfeUUD9OLgTi++Ou/RhfFmXQjCXrOX8QDv22J1TqxwM/Wlp niVoBjPZRgj8tNLCdLAJpQ2iVfWF/llODq/ZeOrv/cfXCwIIVUzHhsSEkBDS2K475/ho 9TSVe8mCOB8Bidp0Pvt3wJFnPSbjdSxSQqjN6Li313HIOOxImQy8pP3waJdKs8htJSG9 DnaoqS9TYiv7GxyqD4tDYM3AU9Tmh2oTBFtJ6w4VdfznHWqX0czUlLtCBaw1MHjijrfg Ta3EB3PL6V0llGOgmQrSDOysAnbQJmkKVHXkKOQcFSBRTlDCg2hP7NPFVH8KPPlWJLds IqTA== 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=JU7gxEFwqK+Oxre///Ayp0+fP1f8xI82V+ZomELLvp4=; b=DoVPCpQal6hg7tyOXz9ROX2D9plM6l//1BGWX5HQnuUjeCFmwt0GH3Ry18Q/o7biDg QrgdCq7LdF8lK6MUMEawHc37FuaO6H7K+wBhKqaI8RfwGPbu2kZFvHmIPOAofKDvFHzi 5gHE6HRgRgUXxFOq9yQYCf0LkFNZZGlJGxXq9MySB1xFfzCveBBG859mUqJWxZd1oCFK 8iDkidGmw0QNqfvJUHVU5aGzwFYHQdWIGx7REsoZrU2FkQ6rh4Y3jMTtueqIUB/WuDOT ZjN5ALKUjggckgtmtF4kbdtZYTscmB8NL5IpAt94zi+e7v0yPU6/aiDXphS2kWTFgMCp MNlA== X-Gm-Message-State: APjAAAWaBOTv7gY18TphmUQoI04kJQItdRaZPNbdCzzM3SOVhD6kZLf+ mqzJJthP6ezx5P9lz4Ltcm8dA9lo X-Received: by 2002:a17:906:86d7:: with SMTP id j23mr2843204ejy.89.1579179559263; Thu, 16 Jan 2020 04:59:19 -0800 (PST) Received: from jwang-Latitude-5491.fritz.box ([2001:16b8:4956:1800:d464:b0ea:3ef4:abbb]) by smtp.gmail.com with ESMTPSA id b13sm697289ejl.5.2020.01.16.04.59.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2020 04:59:18 -0800 (PST) From: Jack Wang 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, rpenyaev@suse.de, Roman Pen , linux-kernel@vger.kernel.org Subject: [PATCH v7 01/25] sysfs: export sysfs_remove_file_self() Date: Thu, 16 Jan 2020 13:58:51 +0100 Message-Id: <20200116125915.14815-2-jinpuwang@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200116125915.14815-1-jinpuwang@gmail.com> References: <20200116125915.14815-1-jinpuwang@gmail.com> 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 --- fs/sysfs/file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c index 130fc6fbcc03..1ff4672d7746 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.17.1