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>
This commit is contained in:
parent
e42617b825
commit
a3d1e7eb5a
9 changed files with 104 additions and 218 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue