diff options
author | Tejun Heo <htejun@gmail.com> | 2007-08-20 14:36:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 23:51:08 +0200 |
commit | e0712bbfd9cb617fc3a822781c2466fb6b7ede50 (patch) | |
tree | 1f1424730b488368048f76ffff36b8a5fa7d0a33 /fs/sysfs/sysfs.h | |
parent | sysfs: Introduce sysfs_rename_mutex (diff) | |
download | linux-e0712bbfd9cb617fc3a822781c2466fb6b7ede50.tar.xz linux-e0712bbfd9cb617fc3a822781c2466fb6b7ede50.zip |
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>
Diffstat (limited to 'fs/sysfs/sysfs.h')
0 files changed, 0 insertions, 0 deletions