From 83bbd87a7ac1531463e29cf9af5e883cc4b8089e Mon Sep 17 00:00:00 2001 From: adilger Date: Wed, 3 Jul 2002 20:46:02 +0000 Subject: [PATCH] Fix ordering of module unload in head. --- lustre/tests/common.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lustre/tests/common.sh b/lustre/tests/common.sh index 33053a1..7b13219 100644 --- a/lustre/tests/common.sh +++ b/lustre/tests/common.sh @@ -501,6 +501,10 @@ cleanup_portals() { quit EOF + do_rmmod ldlm + do_rmmod ptlrpc + do_rmmod obdclass + do_rmmod kqswnal do_rmmod ksocknal do_rmmod portals @@ -509,28 +513,24 @@ cleanup_portals() { cleanup_lustre() { killall acceptor - losetup -d ${LOOP}0 - losetup -d ${LOOP}1 - losetup -d ${LOOP}2 - do_rmmod llite do_rmmod lov do_rmmod mdc + do_rmmod osc do_rmmod mds_extN do_rmmod mds_ext3 do_rmmod mds_ext2 do_rmmod mds do_rmmod ost - do_rmmod osc do_rmmod obdecho do_rmmod obdfilter do_rmmod obdext2 do_rmmod extN - do_rmmod ldlm - do_rmmod ptlrpc - do_rmmod obdclass + losetup -d ${LOOP}0 + losetup -d ${LOOP}1 + losetup -d ${LOOP}2 } cleanup_ldlm() { -- 1.8.3.1