Skip to contentSkip to conversation

kobject: explain what kobject's sd field is

PATCH New [email protected] 1 participant 1 message Sep 2, 2015 Driver core

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kobject: explain what kobject's sd field is

From: Ulf Magnusson <[email protected]>

(More) unclear, especially name-wise, after sysfs_dirent became kernfs_node.

---
 include/linux/kobject.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/kobject.h +1 -1
index 637f670..e628459 100644
@@ -66,7 +66,7 @@ struct kobject {
 	struct kobject		*parent;
 	struct kset		*kset;
 	struct kobj_type	*ktype;
-	struct kernfs_node	*sd;
+	struct kernfs_node	*sd; /* sysfs directory entry */
 	struct kref		kref;
 #ifdef CONFIG_DEBUG_KOBJECT_RELEASE
 	struct delayed_work	release;
Signature · 1 line
2.1.4