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/linux/debugfs.h | |
parent | 5233e31191af661389a4f5b060873bfcb155c828 (diff) |
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.h | 5 |
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); | |||
56 | struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent, | 56 | struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent, |
57 | const char *dest); | 57 | const char *dest); |
58 | 58 | ||
59 | struct dentry *debugfs_create_automount(const char *name, | ||
60 | struct dentry *parent, | ||
61 | struct vfsmount *(*f)(void *), | ||
62 | void *data); | ||
63 | |||
59 | void debugfs_remove(struct dentry *dentry); | 64 | void debugfs_remove(struct dentry *dentry); |
60 | void debugfs_remove_recursive(struct dentry *dentry); | 65 | void debugfs_remove_recursive(struct dentry *dentry); |
61 | 66 | ||