[SYSFS - 2.6.23-rc5-git1 ] device_rename: sysfs_create_symlink failed(-17)

From: Daniel Lezcano
Date: Fri Sep 07 2007 - 10:15:36 EST


Hi,

when using the 2.6.23-rc5-git1 kernel and trying to change a network device name, I have the following error:

device_rename: sysfs_create_symlink failed (-17)

That comes from drivers/base/core.c : 1261

I know anything about sysfs, so no much help to give... :(

I don't know if this is a bug, but my code use device_rename, check the return value and fails. I will ignore it, but it seems not to be a correct behavior to have such error.

Easy to reproduce:
load a dummy network driver => dummy0
change its name with : ip link set name foo0 dev dummy0

Thanks.
--Daniel
-
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/