[PATH] symlink doesn't support kobj name > 20 charaters (KOBJ_NAME_LEN)
Linda Xie
lxiep at us.ibm.com
Thu Apr 22 03:00:40 EST 2004
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?
Thanks,
Linda
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: symlink.patch
Url: http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20040421/44d23e0a/attachment.txt
More information about the Linuxppc64-dev
mailing list