summaryrefslogtreecommitdiff
path: root/include/linux/kobject.h
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-09-02 15:40:02 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 11:46:16 +0100
commitf7025709e29aded887becdaf4a81072ef1f475bf (patch)
treee9ffeaf234346f8ba7829b1e85dcfead21a796c4 /include/linux/kobject.h
parent398dc4ad52022c3d585908544b936bdf73640727 (diff)
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>
Diffstat (limited to 'include/linux/kobject.h')
-rw-r--r--include/linux/kobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index 637f67002c5a..e6284591599e 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -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;