From 43f248c4527a49d3de0cd758ce669f7736028ea4 Mon Sep 17 00:00:00 2001 From: Bruce Cran Date: Mon, 24 Oct 2016 12:08:40 -0600 Subject: [PATCH] Use the POSIX `EDEADLK` instead of the Linux `EDEADLOCK` Signed-off-by: Jens Axboe --- backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend.c b/backend.c index f0927abf..ed4f1f06 100644 --- a/backend.c +++ b/backend.c @@ -1748,7 +1748,7 @@ static void *thread_main(void *data) usleep(1000); if (deadlock_loop_cnt++ > 5000) { log_err("fio seems to be stuck grabbing stat_mutex, forcibly exiting\n"); - td->error = EDEADLOCK; + td->error = EDEADLK; goto err; } } while (1); -- 2.25.1