lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20200504140115.15533-2-danil.kipnis@cloud.ionos.com>
Date:   Mon,  4 May 2020 16:00:51 +0200
From:   Danil Kipnis <danil.kipnis@...ud.ionos.com>
To:     linux-block@...r.kernel.org, linux-rdma@...r.kernel.org
Cc:     axboe@...nel.dk, hch@...radead.org, sagi@...mberg.me,
        bvanassche@....org, leon@...nel.org, dledford@...hat.com,
        jgg@...pe.ca, danil.kipnis@...ud.ionos.com,
        jinpu.wang@...ud.ionos.com, pankaj.gupta@...ud.ionos.com,
        Roman Pen <roman.penyaev@...fitbricks.com>,
        Tejun Heo <tj@...nel.org>, linux-kernel@...r.kernel.org
Subject: [PATCH v14 01/25] sysfs: export sysfs_remove_file_self()

From: Jack Wang <jinpu.wang@...ud.ionos.com>

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 <roman.penyaev@...fitbricks.com>
Acked-by: Tejun Heo <tj@...nel.org>
Cc: linux-kernel@...r.kernel.org
[jwang: extend the commit message]
Signed-off-by: Jack Wang <jinpu.wang@...ud.ionos.com>
Reviewed-by: Bart Van Assche <bvanassche@....org>
---
 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ