diff options
author | Tejun Heo <tj@kernel.org> | 2013-11-28 20:54:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-30 03:54:50 +0100 |
commit | bfc5c17337145955b31c22b96a6e07def048471b (patch) | |
tree | b6c665ed20a1df8553704361944bdc16f8191379 /fs/kernfs/kernfs-internal.h | |
parent | sysfs, kernfs: implement kernfs_ns_enabled() (diff) | |
download | linux-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/kernfs/kernfs-internal.h')
-rw-r--r-- | fs/kernfs/kernfs-internal.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/kernfs/kernfs-internal.h b/fs/kernfs/kernfs-internal.h index f33a7844e8fd..d1ff591c5cf3 100644 --- a/fs/kernfs/kernfs-internal.h +++ b/fs/kernfs/kernfs-internal.h @@ -48,8 +48,6 @@ struct sysfs_addrm_cxt { struct sysfs_dirent *removed; }; -#include "../sysfs/sysfs.h" - /* * mount.c */ |