diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2009-10-06 13:33:35 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-10-14 22:16:25 (GMT) |
commit | a6a8357788d6a37f8ad0f7eb46b0a386b613abb9 (patch) | |
tree | b8505a5394bc7f825753e0451f421b8333388e37 /kernel/spinlock.c | |
parent | 80f506918fdaaca6b574ba931536a58ce015c7be (diff) | |
download | linux-fsl-qoriq-a6a8357788d6a37f8ad0f7eb46b0a386b613abb9.tar.xz |
sysfs: Allow sysfs_move_dir(..., NULL) again.
As device_move() and kobject_move() both handle a NULL destination,
sysfs_move_dir() should do this as well (again) and fall back to
sysfs_root in that case.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: Phil Carmody <ext-phil.2.carmody@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/spinlock.c')
0 files changed, 0 insertions, 0 deletions