commit | 96902835e7e2c7bf59db28ffd550852610169a2d | [log] [tgz] |
---|---|---|
author | Calvin Owens <calvinowens@fb.com> | Thu Jul 28 21:38:20 2016 -0700 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Aug 08 21:10:34 2016 -0400 |
tree | 2da193d7a4e8713be8a387689152ee988bab9ab0 | |
parent | 310c8e40d5cd2512b6d46177563460726cc6166a [diff] |
mpt3sas: Eliminate conditional locking in mpt3sas_scsih_issue_tm() This flag that conditionally acquires the mutex is confusing and prone to bugginess: refactor it into two separate function calls, and make the unlocked one complain if it's called outside the mutex. Signed-off-by: Calvin Owens <calvinowens@fb.com> Acked-by: Chaitra P B <chaitra.basappa@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>