bah. That's totally different :(
But there seems to be a bug in there.
--- 25/fs/sysfs/symlink.c~sysfs_create_link-fix 2003-05-17 04:34:50.000000000 -0700
+++ 25-akpm/fs/sysfs/symlink.c 2003-05-17 04:34:56.000000000 -0700
@@ -80,7 +80,7 @@ int sysfs_create_link(struct kobject * k
char * s;
depth = object_depth(kobj);
- size = object_path_length(target) + depth * 3 - 1;
+ size = object_path_length(target) + depth * 3 + 1;
if (size > PATH_MAX)
return -ENAMETOOLONG;
pr_debug("%s: depth = %d, size = %d\n",__FUNCTION__,depth,size);
That probably won't fix it though.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/