提交 0732b49c 编写于 作者: R Rusty Russell 提交者: Greg Kroah-Hartman

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: NRusty Russell <rusty@rustcorp.com.au>
Acked-by: NEric W. Biederman <ebiederm@xmission.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 355a72d7
...@@ -118,8 +118,8 @@ the name of the kobject, call kobject_rename(): ...@@ -118,8 +118,8 @@ the name of the kobject, call kobject_rename():
int kobject_rename(struct kobject *kobj, const char *new_name); int kobject_rename(struct kobject *kobj, const char *new_name);
Note kobject_rename does perform any locking or have a solid notion of kobject_rename does not perform any locking or have a solid notion of
what names are valid so the provide must provide their own sanity checking what names are valid so the caller must provide their own sanity checking
and serialization. and serialization.
There is a function called kobject_set_name() but that is legacy cruft and There is a function called kobject_set_name() but that is legacy cruft and
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册