]> git.karo-electronics.de Git - linux-beck.git/commit
sysfs: move sysfs_dirent->s_children into sysfs_dirent->s_dir
authorTejun Heo <htejun@gmail.com>
Thu, 20 Sep 2007 07:05:12 +0000 (16:05 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:51:11 +0000 (14:51 -0700)
commitbc747f37a0f089b9366f7385ff870e12911f2383
treeb23e81c5136486bc081770dd83595e658437ace8
parentdc2f75f0e0cac645c22c85bcf429683b3fa0d2d9
sysfs: move sysfs_dirent->s_children into sysfs_dirent->s_dir

Children list head is only meaninful for directory nodes.  Move it
into s_dir.  This doesn't save any space currently but it will with
further changes.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/dir.c
fs/sysfs/inode.c
fs/sysfs/sysfs.h