> 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