sysfs: move struct sysfs_dirent to private header
authorAdam J. Richter <adam@yggdrasil.com>
Fri, 16 Feb 2007 13:35:25 +0000 (21:35 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 23 Feb 2007 22:52:09 +0000 (14:52 -0800)
commitd56c3eae6753f53d3313b926dcdda38c6c9bbe9b
treec5df874dec463be02221a58a9dcdaf43d8038457
parent63ce18cfe685115ff8d341bae4c9204a79043cf0
sysfs: move struct sysfs_dirent to private header

struct sysfs_dirent is private to the fs/sysfs/ subtree.  It is
not even referenced as an opaque structure outside of that subtree.

The following patch moves the declaration from include/linux/sysfs.h to
fs/sysfs/sysfs.h, making it clearer that nothing else in the kernel
dereferences it.

I have been running this patch for years.  Please integrate and forward
upstream if there are no objections.

From: "Adam J. Richter" <adam@yggdrasil.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/sysfs.h
include/linux/sysfs.h