Skip to content

Commit

Permalink
sysfs: export sysfs_remove_file_self()
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Jack Wang authored and jgunthorpe committed May 17, 2020
1 parent 59dde4d commit 9ddacff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/sysfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 9ddacff

Please sign in to comment.