Name
sysfs_break_active_protection —
break “active” protection
Synopsis
struct kernfs_node * sysfs_break_active_protection ( | struct kobject * kobj, |
| const struct attribute * attr) ; |
Arguments
kobj
The kernel object attr
is associated with.
attr
The attribute to break the “active” protection for.
Description
With sysfs, just like kernfs, deletion of an attribute is postponed until
all active .show
and .store
callbacks have finished unless this function
is called. Hence this function is useful in methods that implement self
deletion.