lkml.org 
[lkml]   [2008]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Fix kobject_rename and !CONFIG_SYSFS v3
> Changelog:
> v3: Documentation typo fixes

Inserted/attached wrong patch file?
I don't see any text changes.


> diff --git a/Documentation/kobject.txt b/Documentation/kobject.txt
> index bf3256e..79184b4 100644
> --- a/Documentation/kobject.txt
> +++ b/Documentation/kobject.txt
> @@ -118,6 +118,10 @@ 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
> +and serialization.
> +
> There is a function called kobject_set_name() but that is
> legacy cruft and
> is being removed. If your code needs to call this function,
> it is
> incorrect and needs to be fixed.



\
 
 \ /
  Last update: 2008-05-13 23:25    [W:0.070 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site