table of contents
other versions
- stretch 4.9.168-1
SYSFS_UNBREAK_ACTIVE(9) | The Filesystem for Exporting K | SYSFS_UNBREAK_ACTIVE(9) |
NAME¶
sysfs_unbreak_active_protection - restore “active” protectionSYNOPSIS¶
void sysfs_unbreak_active_protection(struct kernfs_node * kn);
ARGUMENTS¶
knPointer returned by
sysfs_break_active_protection.
DESCRIPTION¶
Undo the effects of sysfs_break_active_protection. Since this function calls kernfs_put on the kernfs node that corresponds to the 'attr' argument passed to sysfs_break_active_protection that attribute may have been removed between the sysfs_break_active_protection and sysfs_unbreak_active_protection calls, it is not safe to access kn after this function has returned.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |