'\" t .\" Title: sysfs_unbreak_active_protection .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: The Filesystem for Exporting Kernel Objects .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "SYSFS_UNBREAK_ACTIVE" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "The Filesystem for Exporting K" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" sysfs_unbreak_active_protection \- restore \(lqactive\(rq protection .SH "SYNOPSIS" .HP \w'void\ sysfs_unbreak_active_protection('u .BI "void sysfs_unbreak_active_protection(struct\ kernfs_node\ *\ " "kn" ");" .SH "ARGUMENTS" .PP \fIkn\fR .RS 4 Pointer returned by \fBsysfs_break_active_protection\fR\&. .RE .SH "DESCRIPTION" .PP Undo the effects of \fBsysfs_break_active_protection\fR\&. Since this function calls \fBkernfs_put\fR on the kernfs node that corresponds to the \*(Aqattr\*(Aq argument passed to \fBsysfs_break_active_protection\fR that attribute may have been removed between the \fBsysfs_break_active_protection\fR and \fBsysfs_unbreak_active_protection\fR calls, it is not safe to access \fIkn\fR after this function has returned\&. .SH "COPYRIGHT" .br