Skip to content

Commit

Permalink
kobject: Make Documentation/kobject.txt a little more coherent.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rusty Russell authored and Greg Kroah-Hartman committed Jan 6, 2009
1 parent 355a72d commit 0732b49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/kobject.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0732b49

Please sign in to comment.