Re: [PATCH 1/3] mpt3sas: Eliminate conditional locking in mpt3sas_scsih_issue_tm()

From: Martin K. Petersen
Date: Mon Aug 08 2016 - 21:12:27 EST


>>>>> "Calvin" == Calvin Owens <calvinowens@xxxxxx> writes:

Calvin> This flag that conditionally acquires the mutex is confusing and
Calvin> prone to bugginess: refactor it into two separate function
Calvin> calls, and make the unlocked one complain if it's called outside
Calvin> the mutex.

Applied to 4.9/scsi-queue.

--
Martin K. Petersen Oracle Linux Engineering