From 754f932d5d2e0c40f960bdca384cfe356737e4a2 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 8 Aug 2020 15:22:23 +0000 Subject: [PATCH] scst: Revert r9108 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9109 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index 67ceffa57..d01481885 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -8601,11 +8601,11 @@ static void scsi_end_async(struct request *req, blk_status_t error) #endif #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0) - lockdep_assert_held(&req->q->queue_lock); + lockdep_assert_held(req->q->queue_lock); #elif LINUX_VERSION_CODE < KERNEL_VERSION(4, 21, 0) && \ (!defined(RHEL_MAJOR) || RHEL_MAJOR -0 < 8) if (!req->q->mq_ops) - lockdep_assert_held(&req->q->queue_lock); + lockdep_assert_held(req->q->queue_lock); #endif if (sioc->done) {