From a4326627e08d1c79cf311786e7f86844c85a6143 Mon Sep 17 00:00:00 2001 From: Krzysztof Majzerowicz-Jaszcz Date: Mon, 19 Dec 2022 08:35:19 -0500 Subject: [PATCH] Version comparison logic fix for RHEL workaround. This patch fixes the RHEL 8.7 hung task problem by correcting the version comparison logic in the RHEL workaround configure step. Signed-off-by: Krzysztof Majzerowicz-Jaszcz --- configure.d/1_blk_queue_exit_workaround_for_rhel.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.d/1_blk_queue_exit_workaround_for_rhel.conf b/configure.d/1_blk_queue_exit_workaround_for_rhel.conf index e3a9377..dc46c9f 100644 --- a/configure.d/1_blk_queue_exit_workaround_for_rhel.conf +++ b/configure.d/1_blk_queue_exit_workaround_for_rhel.conf @@ -46,10 +46,10 @@ compare_version () { } compare_kernel_version () { - compare_version $1 $2 $3 $LINUX_MAJOR $LINUX_MINOR $LINUX_SUB $4 + compare_version $LINUX_MAJOR $LINUX_MINOR $LINUX_SUB $1 $2 $3 $4 } compare_rhel_kernel_version () { - compare_version $1 $2 $3 $RHEL_MAJOR $RHEL_MINOR $RHEL_SUB $4 + compare_version $RHEL_MAJOR $RHEL_MINOR $RHEL_SUB $1 $2 $3 $4 } check () {