Whamcloud - gitweb
LU-7980 ldiskfs: always pre-allocate max depth for path
[fs/lustre-release.git] / lustre / scripts / lustre_rmmod
index a4f81d8..8c07f78 100755 (executable)
@@ -30,6 +30,7 @@ unload_dep_module() {
 
 lsmod | grep obdclass > /dev/null && $LCTL dl
 lsmod | grep $FSTYPE > /dev/null && unload_dep_module $FSTYPE
+lsmod | grep ptlrpc > /dev/null && unload_dep_module ptlrpc
 lsmod | grep libcfs > /dev/null && unload_dep_module libcfs
 
 MODULES=$($LCTL modules | awk '{ print $2 }')