From: Tejun Heo Date: Mon, 20 Aug 2007 12:36:30 +0000 (+0900) Subject: sysfs: simply sysfs_get_dentry X-Git-Tag: v2.6.24-rc1~1394^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0712bbfd9cb617fc3a822781c2466fb6b7ede50;p=pandora-kernel.git sysfs: simply sysfs_get_dentry Now that we know the sysfs tree structure cannot change under us and sysfs shadow support is dropped, sysfs_get_dentry() can be simplified greatly. It can just look up from the root and there's no need to retry on failure. Signed-off-by: Tejun Heo Cc: Eric W. Biederman Cc: Cornelia Huck Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed