From: Tejun Heo Date: Wed, 13 Jun 2007 18:45:15 +0000 (+0900) Subject: sysfs: add sysfs_dirent->s_name X-Git-Tag: v2.6.23-rc1~1107^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c096b507f15397da890051ee73de4266d3941fb;p=pandora-kernel.git sysfs: add sysfs_dirent->s_name Add s_name to sysfs_dirent. This is to further reduce dependency to the associated dentry. Name is copied for directories and symlinks but not for attributes. Where possible, name dereferences are converted to use sd->s_name. sysfs_symlink->link_name and sysfs_get_name() are unused now and removed. This change allows symlink to be implemented using sysfs_dirent tree proper, which is the last remaining dentry-dependent sysfs walk. Signed-off-by: Tejun Heo Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed