Whamcloud - gitweb
Revert "LU-9439 scripts: Change behavior of lustre_rmmod"
[fs/lustre-release.git] / lustre / scripts / lnet
index 43ad5bf..01f7e4f 100644 (file)
@@ -131,9 +131,8 @@ case "$1" in
        ;;
   stop)
        run_preexec_check "stop"
-       lustre_rmmod ptlrpc || exit 1
        lctl network down || exit 1
-       lustre_rmmod libcfs ldiskfs || exit 1
+       lustre_rmmod || exit 1
        rm -f /var/lock/subsys/lnet
        run_postexec_check "stop"
        ;;