mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
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/20200511135131.27580-2-danil.kipnis@cloud.ionos.com Signed-off-by: Roman Pen <roman.penyaev@profitbricks.com> Acked-by: Tejun Heo <tj@kernel.org> Cc: linux-kernel@vger.kernel.org [jwang: extend the commit message] Signed-off-by: Jack Wang <jinpu.wang@cloud.ionos.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
parent
59dde4d19c
commit
9ddacff18b
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user