summaryrefslogtreecommitdiffstats
path: root/fs/sysfs/sysfs.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-08-20 14:36:30 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 23:51:08 +0200
commite0712bbfd9cb617fc3a822781c2466fb6b7ede50 (patch)
tree1f1424730b488368048f76ffff36b8a5fa7d0a33 /fs/sysfs/sysfs.h
parentsysfs: Introduce sysfs_rename_mutex (diff)
downloadlinux-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