driver core: Implement ns directory support for device classes.
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 30 Mar 2010 18:31:29 +0000 (11:31 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 21 May 2010 16:37:31 +0000 (09:37 -0700)
commitf349cf34731c3b3eddbcd63cb04489aee2c405bd
tree2400790efc15c7f413ee62d79f47a5fdd4ba3233
parent746edb7ae8a1abdd39be2b28c03aa073183340db
driver core: Implement ns directory support for device classes.

device_del and device_rename were modified to use
sysfs_delete_link and sysfs_rename_link respectively to ensure
when these operations happen on devices whose classes
are in namespace directories they work properly.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Benjamin Thery <benjamin.thery@bull.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c