Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1746331ybv; Fri, 21 Feb 2020 02:48:31 -0800 (PST) X-Google-Smtp-Source: APXvYqxTPGkYEINhD8G2H8h+OafalLKWLolpHluT0y9/oLoKujqn/A6NI3C02zLfmdLNaewLptWV X-Received: by 2002:a05:6808:aba:: with SMTP id r26mr1415042oij.4.1582282110897; Fri, 21 Feb 2020 02:48:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582282110; cv=none; d=google.com; s=arc-20160816; b=lXVhXzNBVR/EGAWTAmm4CvK8k9CjcUtNgN0VU3rI4ET46rxQKNln+aGVyBUV9bJcoB E7A/AIyaNaVp+NDobpJqyk4pXm2yY5LMirHrMu2gFMsCm6JH2x2Kj06fqQafyrWWTznl NxwndIZuijhl/ipoeqwZHTyDB2gBWf5mBrQeAUhBfBNskxnI//H9QtHTqNKpxLGO7Ps+ JVCLSdhltfKrrKEMB8Na9TrUikEAju7r/y2HX1GbX/7RF9viNskt+G+cf+KnnbP5jQcK hbTbHdwnE9h4LStYcg+99UZ55BZvqK7izzLRuWxRSw9Vx8RT8om8s+ZZUTBxAsajIBj6 x//Q== 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=BoTVZ7jKbAvh4LnYlm3lOaFB17PMcxQ06EHynYK+WHxStXQZsO3SzdJinGMChtxD99 96Wk7EFmOv7o5wQRhOXjSFHrqWCmmJWhEOjT1GsTIiP9Y4+W89E6/N0VngmHoquZP5dA eMMUuB0lyrDUODi7P/oJiHMCTc0XW8QKqe2OZPlVKMOZYocQuflATOAcXCOpqqVf0cXj 5Lx6RMyWrtwxyHZtVD2Ckm4W+pg36MkJy0ID0QyGSdgn7WECtkk3i0xNUHAE8U6mQbrx LPvZnxCyk1qMlBBj4FKqwYHlUP7lyqU1O6l3nCAnt8xMjZjNWmFfykKvFAsJhuD2EcNX dfkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=R2ZUvr3Z; 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 5si1444746otm.88.2020.02.21.02.48.17; Fri, 21 Feb 2020 02:48:30 -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=R2ZUvr3Z; 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 S1728011AbgBUKr0 (ORCPT + 99 others); Fri, 21 Feb 2020 05:47:26 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:33664 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727827AbgBUKr0 (ORCPT ); Fri, 21 Feb 2020 05:47:26 -0500 Received: by mail-ed1-f67.google.com with SMTP id r21so1809018edq.0; Fri, 21 Feb 2020 02:47:25 -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=R2ZUvr3ZuLAjFgvdrwOgxABTV1rb54T8Yot4G6CZhY33nraY/yTW8WHI8KSWs4LuhZ MJG1OoU2i7KsKlydCYMqvmQMP60uFvKbgt9yOlPGdHqQ8Ybx9L0r3yLtP+0aPJH/zZ55 +ybM0KR/6kxsvD8HjL02eLeotMe1NdDyVlpGi02Hi3yVDLB+AyoT4iMLw2HH4Egtic9F ObS5a/tP7Iiau+EyL5ukYMjYxkMQvWOJheMcHAl1dLj5f5iP9E5vz0mZJ2D6I6NH9W/l ln3xH+q5H4ZxJPfPkmbBgUUY40SnPIk5fDsGyeAhYA3HqOBC/rCv5vMledURFHpv4aNj Ru5A== 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=bv+FIYbT8VczK/Xtl4PvcNQbuLoO7cF8mA1ceGtl0v4llpyToTmhxTUE/STTgOR9CW NC4m7EVNoicehgdTAw4qqCGU5q5w+/7PodkYXfxmXeaLlknUCAFX6qnHi/SJ6pe9FrJg RRPf3wULaImzZRWPFScZxyePtN9GpVJsPA/HpYHP3oqtm1R3KdzHE2n9lqqCqUxH11rP oPBSMP8CTBOglniX0e8wNvbVA7XhKp+iifkZRu4/wjP5OnXhfo30uByQ0mMOmI1C9mMd LVZ1dytjuDZ9SZvHnZWM3tf+i7eGeVh5wksIvdwd8YugynoX7EEp7h8dCRLqjRoUGUfL AXfw== X-Gm-Message-State: APjAAAWYa2vSJK9csjzqzXuG4MmlCf80NOMzHcZqebbtaQnYEO5cYdlF UWXFP2IZ5Y2+9WiMjmEo5H1UXu8v X-Received: by 2002:a17:906:ccdd:: with SMTP id ot29mr33226021ejb.204.1582282044212; Fri, 21 Feb 2020 02:47:24 -0800 (PST) Received: from jwang-Latitude-5491.pb.local ([2001:1438:4010:2558:d8ec:cf8e:d7de:fb22]) by smtp.gmail.com with ESMTPSA id 2sm270594edv.87.2020.02.21.02.47.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Feb 2020 02:47:23 -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, pankaj.gupta@cloud.ionos.com, Roman Pen , linux-kernel@vger.kernel.org Subject: [PATCH v9 01/25] sysfs: export sysfs_remove_file_self() Date: Fri, 21 Feb 2020 11:46:57 +0100 Message-Id: <20200221104721.350-2-jinpuwang@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200221104721.350-1-jinpuwang@gmail.com> References: <20200221104721.350-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