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:
@@ -28,7 +28,6 @@ struct dentry *tracefs_create_file(const char *name, umode_t mode,
|
||||
struct dentry *tracefs_create_dir(const char *name, struct dentry *parent);
|
||||
|
||||
void tracefs_remove(struct dentry *dentry);
|
||||
void tracefs_remove_recursive(struct dentry *dentry);
|
||||
|
||||
struct dentry *tracefs_create_instance_dir(const char *name, struct dentry *parent,
|
||||
int (*mkdir)(const char *name),
|
||||
|
Reference in New Issue
Block a user