util/simple_mtx: don't set the canary when it can't be checked
authorEric Engestrom <eric.engestrom@intel.com>
Fri, 13 Dec 2019 17:12:48 +0000 (17:12 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Fri, 13 Dec 2019 20:20:21 +0000 (20:20 +0000)
commit1a837e803b2cf389d7e176e2460f926a9976e34e
treedac7f48e94a17b088ddeda4dc1485841c8360a36
parentd600b19640691200df64c2f69d188bf38efd33cc
util/simple_mtx: don't set the canary when it can't be checked

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/util/simple_mtx.h