Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1274816 > unrolled thread
| Started by | Jiaxing Wang <hello.wjx@gmail.com> |
|---|---|
| First post | 2015-11-22 09:10 +0100 |
| Last post | 2015-11-22 09:10 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH] debugfs: Add stub function for debugfs_create_automount(). Jiaxing Wang <hello.wjx@gmail.com> - 2015-11-22 09:10 +0100
| From | Jiaxing Wang <hello.wjx@gmail.com> |
|---|---|
| Date | 2015-11-22 09:10 +0100 |
| Subject | [PATCH] debugfs: Add stub function for debugfs_create_automount(). |
| Message-ID | <qxxSF-10E-1@gated-at.bofh.it> |
Add stub for debugfs_create_automount() for when debugfs is not configured
in.
Signed-off-by: Jiaxing Wang <hello.wjx@gmail.com>
---
include/linux/debugfs.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h
index 19c066d..981e53a 100644
--- a/include/linux/debugfs.h
+++ b/include/linux/debugfs.h
@@ -162,6 +162,14 @@ static inline struct dentry *debugfs_create_symlink(const char *name,
return ERR_PTR(-ENODEV);
}
+static inline struct dentry *debugfs_create_automount(const char *name,
+ struct dentry *parent,
+ struct vfsmount *(*f)(void *),
+ void *data)
+{
+ return ERR_PTR(-ENODEV);
+}
+
static inline void debugfs_remove(struct dentry *dentry)
{ }
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to top | Article view | linux.kernel
csiph-web