summaryrefslogtreecommitdiff
path: root/include/linux/debugfs.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-01-25 23:10:32 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2015-01-26 00:52:53 +0300
commit77b3da6e3232d3b4d4b8addb4b05799fe98f3bf8 (patch)
tree849f5a1670e36b6b0a4365edc3f7779aa8261db2 /include/linux/debugfs.h
parent5233e31191af661389a4f5b060873bfcb155c828 (diff)
downloadlinux-77b3da6e3232d3b4d4b8addb4b05799fe98f3bf8.tar.xz
new primitive: debugfs_create_automount()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/debugfs.h')
-rw-r--r--include/linux/debugfs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h
index da4c4983adbe..ea149a24a1f2 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);