summaryrefslogtreecommitdiffstats
path: root/fs/kernfs/Kconfig
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2014-02-03 20:09:17 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-08 01:08:57 +0100
commitba341d55a420ab4fdd1a53fd395fd59bd65de880 (patch)
tree2de1c2cfc849e34434b275d78a9b40962418912a /fs/kernfs/Kconfig
parentsysfs, kobject: add sysfs wrapper for kernfs_enable_ns() (diff)
downloadlinux-ba341d55a420ab4fdd1a53fd395fd59bd65de880.tar.xz
linux-ba341d55a420ab4fdd1a53fd395fd59bd65de880.zip
kernfs: add CONFIG_KERNFS
As sysfs was kernfs's only user, kernfs has been piggybacking on CONFIG_SYSFS; however, kernfs is scheduled to grow a new user very soon. Introduce a separate config option CONFIG_KERNFS which is to be selected by kernfs users. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: linux-fsdevel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/kernfs/Kconfig')
-rw-r--r--fs/kernfs/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/kernfs/Kconfig b/fs/kernfs/Kconfig
new file mode 100644
index 000000000000..397b5f7a7a16
--- /dev/null
+++ b/fs/kernfs/Kconfig
@@ -0,0 +1,7 @@
+#
+# KERNFS should be selected by its users
+#
+
+config KERNFS
+ bool
+ default n