commit | e0712bbfd9cb617fc3a822781c2466fb6b7ede50 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Mon Aug 20 21:36:30 2007 +0900 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Oct 12 14:51:08 2007 -0700 |
tree | 1f1424730b488368048f76ffff36b8a5fa7d0a33 | |
parent | 932ea2e374dd1ca26676297a5eccd1cdab86f7cd [diff] |
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 <htejun@gmail.com> Cc: Eric W. Biederman <ebiederm@xmission.com> Cc: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>