staging/lustre: fix Lustre code link order
authorPeng Tao <bergwolf@gmail.com>
Mon, 15 Jul 2013 14:27:05 +0000 (22:27 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 19:23:55 +0000 (12:23 -0700)
Change Makefiles to keep link order in match with Lustre module
dependency, so that when Lustre is built in kernel, we'll have
the same dependency. Otherwise we'll crash kernel if Lustre is
builtin due to missing internal dependency.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/Makefile
drivers/staging/lustre/lnet/Makefile
drivers/staging/lustre/lustre/Makefile

index 26162893fd2067fc768405e6ba254d2eb782f93d..fb0e0faf07604b61205e3affec4cd11d4d965931 100644 (file)
@@ -1,4 +1,4 @@
 subdir-ccflags-y := -I$(src)/include/
 
-obj-$(CONFIG_LUSTRE_FS)                += lustre/
 obj-$(CONFIG_LNET)             += lnet/
+obj-$(CONFIG_LUSTRE_FS)                += lustre/
index 374212b1555af49a31124d7f3dd5e8c90bd786e6..f6f03e304d81f45cd961159eefefa2c28abe9810 100644 (file)
@@ -1 +1 @@
-obj-$(CONFIG_LNET) := klnds/ lnet/ selftest/
+obj-$(CONFIG_LNET) += lnet/ klnds/ selftest/
index 3fb94fc12068b214dc92eed518223fae6030a6be..d1eb0bdef06b233be89011ee50f745393575b590 100644 (file)
@@ -1,2 +1,2 @@
-obj-$(CONFIG_LUSTRE_FS) := fid/ lvfs/ obdclass/ ptlrpc/ obdecho/ mgc/ lov/ \
-                          osc/ mdc/ lmv/ llite/ fld/ libcfs/
+obj-$(CONFIG_LUSTRE_FS) += libcfs/ lvfs/ obdclass/ ptlrpc/ fld/ osc/ mgc/ \
+                          fid/ lov/ mdc/ lmv/ llite/ obdecho/
This page took 0.02554 seconds and 5 git commands to generate.