debugfs_remove(9)

debugfs_remove9

Removes a file or directory from the debugfs filesystem

Usage

void debugfs_remove(struct dentry * dentry);

Arguments

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.

Overview

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.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.