debugfs_remove_recursive(9)

debugfs_remove_recursive9

Recursively removes a directory

Usage

void debugfs_remove_recursive(struct dentry * dentry);

Arguments

dentry

a pointer to a the dentry of the directory to be removed. If this parameter is NULL or an error value, nothing will be done.

Overview

This function recursively removes a directory tree 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

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

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