sysfs, kernfs: remove cross inclusions of internal headers
authorTejun Heo <tj@kernel.org>
Thu, 28 Nov 2013 19:54:47 +0000 (14:54 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Nov 2013 02:54:50 +0000 (18:54 -0800)
commitbfc5c17337145955b31c22b96a6e07def048471b
treeb6c665ed20a1df8553704361944bdc16f8191379
parentac9bba031001704a2339713cc12148857eccc5e5
sysfs, kernfs: remove cross inclusions of internal headers

fs/kernfs/kernfs-internal.h needed to include fs/sysfs/sysfs.h because
part of kernfs core implementation was living in sysfs.

fs/sysfs/sysfs.h needed to include fs/kernfs/kernfs-internal.h because
include/linux/kernfs.h didn't expose enough interface.

The separation is complete and neither is true anymore.  Remove the
cross inclusion and make sysfs a proper user of kernfs.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/kernfs/kernfs-internal.h
fs/sysfs/sysfs.h