diff options
author | Jack Wang <[email protected]> | 2020-05-11 15:51:07 +0200 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-05-17 18:57:12 -0300 |
commit | 9ddacff18b159fd9852734f611a6db6100432635 (patch) | |
tree | 0314d7430d4235ee3f71f98552935ada6757cfa9 | |
parent | 59dde4d19cf8de232c17c79c08e0db67636b022b (diff) |
sysfs: export sysfs_remove_file_self()
Function is going to be used in transport over RDMA module in subsequent
patches, so export it to GPL modules.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Roman Pen <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Cc: [email protected]
[jwang: extend the commit message]
Signed-off-by: Jack Wang <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
-rw-r--r-- | fs/sysfs/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |