]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1bd1ee1157cf356d6192854f9a44964d2c7a0f3
tree73d670ab6c315b42273bc9d2731ec2b8e7c199af
parent68279c87dac02a140289879c4ca690020994c968
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