'\" t .\" Title: debugfs_remove .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: The debugfs filesystem .\" Source: Kernel Hackers Manual 4.11.6 .\" Language: English .\" .TH "DEBUGFS_REMOVE" "9" "July 2017" "Kernel Hackers Manual 4\&.11\&" "The debugfs filesystem" .\" ----------------------------------------------------------------- .\" * 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" debugfs_remove \- removes a file or directory from the debugfs filesystem .SH "SYNOPSIS" .HP \w'void\ debugfs_remove('u .BI "void debugfs_remove(struct\ dentry\ *\ " "dentry" ");" .SH "ARGUMENTS" .PP \fIstruct dentry * dentry\fR .RS 4 a pointer to a the dentry of the file or directory to be removed\&. If this parameter is NULL or an error value, nothing will be done\&. .RE .SH "DESCRIPTION" .PP This function removes a file or directory in debugfs that was previously created with a call to another debugfs function (like \fBdebugfs_create_file\fR or variants thereof\&.) .PP This function is required to be called in order for the file to be removed, no automatic cleanup of files will happen when a module is removed, you are responsible here\&. .SH "COPYRIGHT" .br