Re: [PATCH] Fix kobject_rename and !CONFIG_SYSFS v3

From: Randy Dunlap
Date: Tue May 13 2008 - 17:23:17 EST


> 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/