configfs: Make sure configfs_init() is called before consumers.
configfs_init() needs to be called first to register configfs before anyconsumers try to access it. Move up configfs in fs/Makefile to make sure it is initialized early. Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
This commit is contained in:
@@ -45,6 +45,7 @@ obj-$(CONFIG_DNOTIFY) += dnotify.o
|
|||||||
obj-$(CONFIG_PROC_FS) += proc/
|
obj-$(CONFIG_PROC_FS) += proc/
|
||||||
obj-y += partitions/
|
obj-y += partitions/
|
||||||
obj-$(CONFIG_SYSFS) += sysfs/
|
obj-$(CONFIG_SYSFS) += sysfs/
|
||||||
|
obj-$(CONFIG_CONFIGFS_FS) += configfs/
|
||||||
obj-y += devpts/
|
obj-y += devpts/
|
||||||
|
|
||||||
obj-$(CONFIG_PROFILING) += dcookies.o
|
obj-$(CONFIG_PROFILING) += dcookies.o
|
||||||
@@ -100,5 +101,4 @@ obj-$(CONFIG_BEFS_FS) += befs/
|
|||||||
obj-$(CONFIG_HOSTFS) += hostfs/
|
obj-$(CONFIG_HOSTFS) += hostfs/
|
||||||
obj-$(CONFIG_HPPFS) += hppfs/
|
obj-$(CONFIG_HPPFS) += hppfs/
|
||||||
obj-$(CONFIG_DEBUG_FS) += debugfs/
|
obj-$(CONFIG_DEBUG_FS) += debugfs/
|
||||||
obj-$(CONFIG_CONFIGFS_FS) += configfs/
|
|
||||||
obj-$(CONFIG_OCFS2_FS) += ocfs2/
|
obj-$(CONFIG_OCFS2_FS) += ocfs2/
|
||||||
|
Reference in New Issue
Block a user