From: Cornelia Huck Date: Tue, 6 Oct 2009 13:33:35 +0000 (+0200) Subject: sysfs: Allow sysfs_move_dir(..., NULL) again. X-Git-Tag: v2.6.32-rc5~10^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6a8357788d6a37f8ad0f7eb46b0a386b613abb9;p=pandora-kernel.git 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 Cc: Phil Carmody Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed