mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
scst: Also unload the qla2xxx_scst kernel module when stopping SCST
Make sure that the qla2xxx_scst kernel module is reloaded after an upgrade of SCST. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8161 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -208,6 +208,10 @@ unload_scst() {
|
||||
fi
|
||||
unload_kmod $m 30 || return 1
|
||||
done
|
||||
# Loading qla2x00tgt causes qla2xxx_scst to be loaded but removing
|
||||
# qla2x00tgt does not cause qla2xxx_scst to be unloaded. Hence unload it
|
||||
# explicitly.
|
||||
unload_kmod qla2xxx_scst
|
||||
for m in $SCST_OPT_MODULES; do
|
||||
reverse_list="$m $reverse_list"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user