|
@@ -201,7 +201,7 @@ struct kernfs_ops {
|
|
|
#endif
|
|
|
};
|
|
|
|
|
|
-#ifdef CONFIG_SYSFS
|
|
|
+#ifdef CONFIG_KERNFS
|
|
|
|
|
|
static inline enum kernfs_node_type kernfs_type(struct kernfs_node *kn)
|
|
|
{
|
|
@@ -284,7 +284,7 @@ void kernfs_kill_sb(struct super_block *sb);
|
|
|
|
|
|
void kernfs_init(void);
|
|
|
|
|
|
-#else /* CONFIG_SYSFS */
|
|
|
+#else /* CONFIG_KERNFS */
|
|
|
|
|
|
static inline enum kernfs_node_type kernfs_type(struct kernfs_node *kn)
|
|
|
{ return 0; } /* whatever */
|
|
@@ -379,7 +379,7 @@ static inline void kernfs_kill_sb(struct super_block *sb) { }
|
|
|
|
|
|
static inline void kernfs_init(void) { }
|
|
|
|
|
|
-#endif /* CONFIG_SYSFS */
|
|
|
+#endif /* CONFIG_KERNFS */
|
|
|
|
|
|
static inline struct kernfs_node *
|
|
|
kernfs_find_and_get(struct kernfs_node *kn, const char *name)
|