From: ulfalizer.lkml@gmail.com
To: linux-kernel@vger.kernel.org
Cc: gregkh@linuxfoundation.org, tj@kernel.org, trivial@kernel.org,
Ulf Magnusson <ulfalizer@gmail.com>
Subject: [PATCH] kobject: explain what kobject's sd field is
Date: Wed, 2 Sep 2015 15:40:02 +0200 [thread overview]
Message-ID: <1441201202-13068-1-git-send-email-ulfalizer.lkml@gmail.com> (raw)
From: Ulf Magnusson <ulfalizer@gmail.com>
(More) unclear, especially name-wise, after sysfs_dirent became
kernfs_node.
Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
---
include/linux/kobject.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index 637f670..e628459 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;
--
2.1.4
reply other threads:[~2015-09-02 13:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1441201202-13068-1-git-send-email-ulfalizer.lkml@gmail.com \
--to=ulfalizer.lkml@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tj@kernel.org \
--cc=trivial@kernel.org \
--cc=ulfalizer@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®