sysfs: Update the name hash for an entry after changing the namespace
authorTom Goff <thomas.goff@boeing.com>
Wed, 4 Apr 2012 19:06:20 +0000 (12:06 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Apr 2012 22:33:00 +0000 (15:33 -0700)
commit70fa4a62e913dde2d100e0be2711562742f58bee
tree272c4c79fd02fe89d628ef3ba12efc812184f179
parent3a4ffe930a2d2dad07604fe74d21b878decc6461
sysfs: Update the name hash for an entry after changing the namespace

This is needed to allow renaming network devices that have been moved
to another network namespace.

Signed-off-by: Tom Goff <thomas.goff@boeing.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/sysfs/dir.c