summaryrefslogtreecommitdiffstats
path: root/Documentation/kobject.txt
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-12-09 08:32:14 +1030
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 10:44:32 -0800
commit0732b49c8c40c56033cff8986dbad55aa54a5d40 (patch)
tree8ceddbdc087122488760fa8a605d7e2f952be7f4 /Documentation/kobject.txt
parent355a72d75b3b4f4877db4c9070c798238028ecb5 (diff)
downloadop-kernel-dev-0732b49c8c40c56033cff8986dbad55aa54a5d40.zip
op-kernel-dev-0732b49c8c40c56033cff8986dbad55aa54a5d40.tar.gz
kobject: Make Documentation/kobject.txt a little more coherent.
While reading Documentation/kobject.txt: Note kobject_rename does perform any locking or have a solid notion of what names are valid so the provide must provide their own sanity checking and serialization. I expect better: You never see me hard with time word making sentence coherent stuff. Ever. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Acked-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/kobject.txt')
-rw-r--r--Documentation/kobject.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/kobject.txt b/Documentation/kobject.txt
index f5d2aad..b2e3745 100644
--- a/Documentation/kobject.txt
+++ b/Documentation/kobject.txt
@@ -118,8 +118,8 @@ the name of the kobject, call kobject_rename():
int kobject_rename(struct kobject *kobj, const char *new_name);
-Note kobject_rename does perform any locking or have a solid notion of
-what names are valid so the provide must provide their own sanity checking
+kobject_rename does not perform any locking or have a solid notion of
+what names are valid so the caller must provide their own sanity checking
and serialization.
There is a function called kobject_set_name() but that is legacy cruft and
OpenPOWER on IntegriCloud