sysfs_break_active_protection9
Break “active” protection
Usage
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.
Overview
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.