From: Daniel Wagner Date: Tue, 26 Mar 2024 13:13:43 +0000 (+0100) Subject: nvme/rc: silence error on module unload for fc X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=385a6160963c0a2ecc4216c13445cd0c8b80fe41;p=users%2Fsagi%2Fblktests.git nvme/rc: silence error on module unload for fc The other transports silence the error output when trying to unload the module. Do the same for FC. Signed-off-by: Daniel Wagner Signed-off-by: Shin'ichiro Kawasaki --- diff --git a/tests/nvme/rc b/tests/nvme/rc index 2d6ebea..78d84af 100644 --- a/tests/nvme/rc +++ b/tests/nvme/rc @@ -332,7 +332,7 @@ _cleanup_nvmet() { if [[ "${nvme_trtype}" == "fc" ]]; then _cleanup_fcloop "${def_local_wwnn}" "${def_local_wwpn}" \ "${def_remote_wwnn}" "${def_remote_wwpn}" - modprobe -rq nvme-fcloop + modprobe -rq nvme-fcloop 2>/dev/null fi modprobe -rq nvme-"${nvme_trtype}" 2>/dev/null if [[ "${nvme_trtype}" != "loop" ]]; then