kernel-ark/fs/sysfs
Tejun Heo 0c096b507f 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 <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-11 16:09:04 -07:00
..
bin.c sysfs: fix error handling in binattr write() 2007-07-11 16:09:03 -07:00
dir.c sysfs: add sysfs_dirent->s_name 2007-07-11 16:09:04 -07:00
file.c sysfs: add sysfs_dirent->s_name 2007-07-11 16:09:04 -07:00
group.c security: prevent permission checking of file removal via sysfs_remove_group() 2007-04-27 10:57:33 -07:00
inode.c sysfs: add sysfs_dirent->s_name 2007-07-11 16:09:04 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mount.c sysfs: add sysfs_dirent->s_parent 2007-07-11 16:09:04 -07:00
symlink.c sysfs: add sysfs_dirent->s_name 2007-07-11 16:09:04 -07:00
sysfs.h sysfs: add sysfs_dirent->s_name 2007-07-11 16:09:04 -07:00