Scroll to navigation

DEBUGFS_REMOVE(9) The debugfs filesystem DEBUGFS_REMOVE(9)

NAME

debugfs_remove - removes a file or directory from the debugfs filesystem

SYNOPSIS

void debugfs_remove(struct dentry * dentry);

ARGUMENTS

struct dentry * dentry

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.

DESCRIPTION

This function removes a file or directory in debugfs that was previously created with a call to another debugfs function (like debugfs_create_file or variants thereof.)

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.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11