From: Eric W. Biederman Date: Fri, 4 Jul 2008 01:05:28 +0000 (-0700) Subject: kobject: Cleanup kobject_rename and !CONFIG_SYSFS X-Git-Tag: v2.6.28-rc1~284^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b4a4fea253e1296222603ccc55430ed7cd9413a;p=pandora-kernel.git kobject: Cleanup kobject_rename and !CONFIG_SYSFS It finally dawned on me what the clean fix to sysfs_rename_dir calling kobject_set_name is. Move the work into kobject_rename where it belongs. The callers serialize us anyway so this is safe. Signed-off-by: Eric W. Biederman Acked-by: Tejun Heo Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed