summaryrefslogtreecommitdiffstats
path: root/fs/sysfs/sysfs.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-11-28 20:54:47 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-30 03:54:50 +0100
commitbfc5c17337145955b31c22b96a6e07def048471b (patch)
treeb6c665ed20a1df8553704361944bdc16f8191379 /fs/sysfs/sysfs.h
parentsysfs, kernfs: implement kernfs_ns_enabled() (diff)
downloadlinux-bfc5c17337145955b31c22b96a6e07def048471b.tar.xz
linux-bfc5c17337145955b31c22b96a6e07def048471b.zip
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>
Diffstat (limited to 'fs/sysfs/sysfs.h')
-rw-r--r--fs/sysfs/sysfs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h
index 6a82311a50fe..c8e395b49330 100644
--- a/fs/sysfs/sysfs.h
+++ b/fs/sysfs/sysfs.h
@@ -11,7 +11,6 @@
#ifndef __SYSFS_INTERNAL_H
#define __SYSFS_INTERNAL_H
-#include "../kernfs/kernfs-internal.h"
#include <linux/sysfs.h>
/*