aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Chamberlain <mcgrof@kernel.org>2022-02-08 13:37:54 -0800
committerEryu Guan <guaneryu@gmail.com>2022-02-21 00:30:32 +0800
commitd01e8f25f31dd34c9c296099cf5dd35f13bb29e1 (patch)
treef371cd8cffa211b42cff07ee9a7efb5188dcbbaf
parenteb564a21879912c842a522aedef0fac6d922a467 (diff)
downloadxfstests-dev-d01e8f25f31dd34c9c296099cf5dd35f13bb29e1.tar.gz
common/config: fix use of MODPROBE_RM_PATIENT_TIMEOUT_ARGS
When patient module removal support is detected on kmod (note that this is not yet even merged onto kmod yet but work in progress) the arguments required for it are not being set yet. This was a typo, fix this. This issue was spotted using shellcheck from blktests when adding patient module removal support there. I'll post a patch next to let folks evaluate if we should embrace shellcheck on fstests as well. Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
-rw-r--r--common/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/config b/common/config
index 0566ab4a96..a9b393f7f0 100644
--- a/common/config
+++ b/common/config
@@ -280,7 +280,7 @@ else
MODPROBE_PATIENT_RM_TIMEOUT_MS="$((MODPROBE_PATIENT_RM_TIMEOUT_SECONDS * 1000))"
MODPROBE_RM_PATIENT_TIMEOUT_ARGS="-t $MODPROBE_PATIENT_RM_TIMEOUT_MS"
fi
- MODPROBE_REMOVE_PATIENT="modprobe -p $MODPROBE_RM_TIMEOUT_ARGS"
+ MODPROBE_REMOVE_PATIENT="modprobe -p $MODPROBE_RM_PATIENT_TIMEOUT_ARGS"
fi
export MODPROBE_REMOVE_PATIENT