lkml.org 
[lkml]   [2008]   [May]   [13]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 13 May 2008 16:18:55 -0500 (CDT)
FromRandy Dunlap <>
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    [from the cache]
©2003-2008