table of contents
SYSFS_UNBREAK_ACTIVE(9) | The Filesystem for Exporting K | SYSFS_UNBREAK_ACTIVE(9) |
NAME¶
sysfs_unbreak_active_protection - restore “active” protection
SYNOPSIS¶
void sysfs_unbreak_active_protection(struct kernfs_node * kn);
ARGUMENTS¶
kn
Pointer 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¶
June 2024 | Kernel Hackers Manual 3.10 |