Re: [PATCH v3 1/2] blktests: replace module removal with patient module removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>  common/rc                  | 134 +++++++++++++++++++++++++++++++++++++

Rats, I spotted just two more typos while doing the update to the
fstests code, if you can fold these changes in to this patch, it would
be great.

  Luis

diff --git a/common/rc b/common/rc
index b17fcbf70c6d..c8890f6a4193 100644
--- a/common/rc
+++ b/common/rc
@@ -465,7 +465,7 @@ _patient_rmmod_check_refcnt()
 # This applies to both cases where kmod supports the patient module remover
 # (modrobe --wait) and where it does not.
 #
-# If your version of kmod supports modprobe -p, we instead use that
+# If your version of kmod supports modprobe --wait, we instead use that
 # instead. Otherwise we have to implement a patient module remover
 # ourselves.
 _patient_rmmod()
@@ -524,7 +524,7 @@ _patient_rmmod()
 	# https://bugzilla.kernel.org/show_bug.cgi?id=212337
 	# https://bugzilla.kernel.org/show_bug.cgi?id=214015
 	while [[ $max_tries != 0 ]]; do
-		if [[ -d /sys/module/$module ]]; then
+		if [[ -d /sys/module/$module_sys ]]; then
 			modprobe -r "$module" 2> /dev/null
 			mod_ret=$?
 			if [[ $mod_ret == 0 ]]; then



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux