>>>>> "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 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html