>>>>> "Calvin" == Calvin Owens <calvinow...@fb.com> 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