kobject: explain what kobject's sd field is
authorUlf Magnusson <ulfalizer@gmail.com>
Wed, 2 Sep 2015 13:40:02 +0000 (15:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 10:46:16 +0000 (11:46 +0100)
(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>
include/linux/kobject.h

index 637f67002c5ac6b39536b5cf74a77caf3b1f749f..e6284591599ec5361b9abcffb2f731512b76eec9 100644 (file)
@@ -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;