aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugfs.h
diff options
context:
space:
mode:
authorLinus Torvalds <[email protected]>2020-02-05 05:09:46 +0000
committerLinus Torvalds <[email protected]>2020-02-05 05:09:46 +0000
commit72f582ff8569900ccc4439b26bbe5e2fff509f08 (patch)
treecc84085b70b78d1329a0f9ed6045221e736d5912 /include/linux/debugfs.h
parentbddea11b1b9385f713006820f16a9fbe5efe6b47 (diff)
parenta3d1e7eb5abe3aa1095bc75d1a6760d3809bd672 (diff)
Merge branch 'work.recursive_removal' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs recursive removal updates from Al Viro: "We have quite a few places where synthetic filesystems do an equivalent of 'rm -rf', with varying amounts of code duplication, wrong locking, etc. That really ought to be a library helper. Only debugfs (and very similar tracefs) are converted here - I have more conversions, but they'd never been in -next, so they'll have to wait" * 'work.recursive_removal' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: simple_recursive_removal(): kernel-side rm -rf for ramfs-style filesystems
Diffstat (limited to 'include/linux/debugfs.h')
-rw-r--r--include/linux/debugfs.h2
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);