[PATH] symlink doesn't support kobj name > 20 charaters (KOBJ_NAME_LEN)

Greg KH greg at kroah.com
Fri Apr 23 08:35:02 EST 2004

On Wed, Apr 21, 2004 at 12:00:40PM -0500, Linda Xie wrote:
> Hi Greg,
> Since symlink.c uses "name" field of a kobj when it calculates the
> length,  it gets a
> wrong value if the kobj's name  has more than 20 charathers.  A correct
> way to do
> that is to call kobject_name(kobj) instead of using kobj->name directly.
> Can you  apply attached patch to you tree?

Applied, thanks.

greg k-h

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/

More information about the Linuxppc64-dev mailing list