[PATCH] sysfs: fix problem with duplicate sysfs directories and files