kernfs: add CONFIG_KERNFS
authorTejun Heo <tj@kernel.org>
Mon, 3 Feb 2014 19:09:17 +0000 (14:09 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Feb 2014 00:08:57 +0000 (16:08 -0800)
commitba341d55a420ab4fdd1a53fd395fd59bd65de880
tree2de1c2cfc849e34434b275d78a9b40962418912a
parentfa4cd451cceb77e97432b91fcf50a7e4a7361e29
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>
fs/Kconfig
fs/Makefile
fs/kernfs/Kconfig [new file with mode: 0644]
fs/sysfs/Kconfig
include/linux/kernfs.h