• Tejun Heo's avatar
    sysfs: simply sysfs_get_dentry · e0712bbf
    Tejun Heo authored
    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: default avatarTejun Heo <htejun@gmail.com>
    Cc: Eric W. Biederman <ebiederm@xmission.com>
    Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    e0712bbf
dir.c 22.5 KB