]> git.karo-electronics.de Git - linux-beck.git/commit
sysfs: make sysfs_root a regular directory dirent
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)
commitdc2f75f0e0cac645c22c85bcf429683b3fa0d2d9
tree775a89f5abae0cdc9688a32a6209d74c61cb5975
parentd6b4fd2faeb9ddf55ce09cf90b88981e579ee010
sysfs: make sysfs_root a regular directory dirent

sysfs_root is different from a regular directory dirent in that it's
of type SYSFS_ROOT and doesn't have a name.  These differences aren't
used by anybody and only adds to complexity.  Make sysfs_root a
regular directory dirent.

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/inode.c
fs/sysfs/mount.c
fs/sysfs/sysfs.h