From: Tejun Heo Date: Mon, 11 Jun 2007 05:03:27 +0000 (+0900) Subject: sysfs: fix condition check in sysfs_drop_dentry() X-Git-Tag: v2.6.22-rc5~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6aa054aadfea613a437ad0b15d38eca2b963fc0a;p=pandora-kernel.git sysfs: fix condition check in sysfs_drop_dentry() The condition check doesn't make much sense as it basically always succeeds. This causes NULL dereferencing on certain cases. It seems that parentheses are put in the wrong place. Fix it. Signed-off-by: Tejun Heo Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed