sysfs: Update the name hash for an entry after changing the namespace