table of contents
other versions
- stretch 4.9.168-1
SYSFS_BREAK_ACTIVE_P(9) | The Filesystem for Exporting K | SYSFS_BREAK_ACTIVE_P(9) |
NAME¶
sysfs_break_active_protection - break “active” protectionSYNOPSIS¶
struct kernfs_node * sysfs_break_active_protection(struct kobject * kobj, const struct attribute * attr);
ARGUMENTS¶
kobjThe 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.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |