sysfs: make kobj point to sysfs_dirent instead of dentry
authorTejun Heo <htejun@gmail.com>
Wed, 13 Jun 2007 19:27:22 +0000 (04:27 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Jul 2007 23:09:08 +0000 (16:09 -0700)
commit608e266a2d4e62c1b98c1c573064b6afe8c06a58
tree73d670ab6c315b42273bc9d2731ec2b8e7c199af
parentf0b0af4792d751106e2003f96af76fa95e10c68d
sysfs: make kobj point to sysfs_dirent instead of dentry

As kobj sysfs dentries and inodes are gonna be made reclaimable,
dentry can't be used as naming token for sysfs file/directory, replace
kobj->dentry with kobj->sd.  The only external interface change is
shadow directory handling.  All other changes are contained in kobj
and sysfs.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/bin.c
fs/sysfs/dir.c
fs/sysfs/file.c
fs/sysfs/group.c
fs/sysfs/inode.c
fs/sysfs/symlink.c
fs/sysfs/sysfs.h
include/linux/kobject.h
include/linux/sysfs.h
lib/kobject.c