Whamcloud - gitweb
LU-8066 libcfs: migrate to debugfs
[fs/lustre-release.git] / libcfs / include / libcfs / libcfs.h
index b33243a..59453fa 100644 (file)
@@ -128,4 +128,12 @@ static inline void *__container_of(const void *ptr, unsigned long shift)
 #define container_of0(ptr, type, member)                               \
        ((type *)__container_of((ptr), offsetof(type, member)))
 
+struct lnet_debugfs_symlink_def {
+       const char *name;
+       const char *target;
+};
+
+void lnet_insert_debugfs(struct ctl_table *table,
+                        const struct lnet_debugfs_symlink_def *symlinks);
+
 #endif /* _LIBCFS_LIBCFS_H_ */