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 <[email protected]>
Cc: [email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Tejun Heo 2014-02-03 14:09:17 -05:00 • committed by Greg Kroah-Hartman
commit ba341d55a4
5 changed files with 14 additions and 4 deletions

7
fs/kernfs/Kconfig Normal file
View file

@ -0,0 +1,7 @@
#
# KERNFS should be selected by its users
#
config KERNFS
bool
default n