Skip to content

Commit f702570

Browse files
ulfalizergregkh
authored andcommitted
kobject: explain what kobject's sd field is
(More) unclear, especially name-wise, after sysfs_dirent became kernfs_node. Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 398dc4a commit f702570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/kobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ struct kobject {
6666
struct kobject *parent;
6767
struct kset *kset;
6868
struct kobj_type *ktype;
69-
struct kernfs_node *sd;
69+
struct kernfs_node *sd; /* sysfs directory entry */
7070
struct kref kref;
7171
#ifdef CONFIG_DEBUG_KOBJECT_RELEASE
7272
struct delayed_work release;

0 commit comments

Comments
 (0)