From: Rafael J. Wysocki Date: Wed, 13 Jun 2007 18:45:18 +0000 (+0900) Subject: sysfs: Fix oops in sysfs_drop_dentry on x86_64 X-Git-Tag: v2.6.23-rc1~1107^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d9307dabb3de8140fb3801bf6eb01f231dbd83d;p=pandora-kernel.git sysfs: Fix oops in sysfs_drop_dentry on x86_64 Fix oops on x86_64 caused by the dereference of dir in sysfs_drop_dentry() made before checking if dir is not NULL (cf. http://marc.info/?l=linux-kernel&m=118151626704924&w=2). Signed-off-by: Rafael J. Wysocki Signed-off-by: Tejun Heo Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed