diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-11-18 09:43:10 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-12-10 22:29:58 -0500 |
commit | a3d1e7eb5abe3aa1095bc75d1a6760d3809bd672 (patch) | |
tree | 1dce9bdc1052f0a94dffe67526e38f5a8202164f /include/linux/debugfs.h | |
parent | e42617b825f8073569da76dc4510bfa019b1c35a (diff) |
simple_recursive_removal(): kernel-side rm -rf for ramfs-style filesystems
two requirements: no file creations in IS_DEADDIR and no cross-directory
renames whatsoever.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/debugfs.h')
-rw-r--r-- | include/linux/debugfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h index bf9b6cafa4c2..3d013de64f70 100644 --- a/include/linux/debugfs.h +++ b/include/linux/debugfs.h @@ -83,7 +83,7 @@ struct dentry *debugfs_create_automount(const char *name, void *data); void debugfs_remove(struct dentry *dentry); -void debugfs_remove_recursive(struct dentry *dentry); +#define debugfs_remove_recursive debugfs_remove const struct file_operations *debugfs_real_fops(const struct file *filp); |