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)
commiteba32e16374beb2f479bbbf37dfa8fcf785bac3f
treec13c2fa9d126f48c98f6889dd3fa1ca4644e2f78
parent4f6cc9ab5337879c4a79564b3aed4fa429d1cd12
staging/lustre: fix Lustre code link order

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