diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-01-25 15:10:32 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-01-25 16:52:53 -0500 |
commit | 77b3da6e3232d3b4d4b8addb4b05799fe98f3bf8 (patch) | |
tree | 849f5a1670e36b6b0a4365edc3f7779aa8261db2 /include | |
parent | 5233e31191af661389a4f5b060873bfcb155c828 (diff) |
new primitive: debugfs_create_automount()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/debugfs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h index da4c4983adb..ea149a24a1f 100644 --- a/include/linux/debugfs.h +++ b/include/linux/debugfs.h @@ -56,6 +56,11 @@ struct dentry *debugfs_create_dir(const char *name, struct dentry *parent); struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent, const char *dest); +struct dentry *debugfs_create_automount(const char *name, + struct dentry *parent, + struct vfsmount *(*f)(void *), + void *data); + void debugfs_remove(struct dentry *dentry); void debugfs_remove_recursive(struct dentry *dentry); |