From: Bruce Cran Date: Mon, 24 Oct 2016 18:08:40 +0000 (-0600) Subject: Use the POSIX `EDEADLK` instead of the Linux `EDEADLOCK` X-Git-Tag: fio-2.15~1 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=43f248c4527a49d3de0cd758ce669f7736028ea4 Use the POSIX `EDEADLK` instead of the Linux `EDEADLOCK` Signed-off-by: Jens Axboe --- 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);