X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=diskutil.c;h=7be4c022431e1a0b823332f233d0159f07876ba4;hp=5b4eb46dfe46990d091f135bed3c1f9ba10eb67e;hb=f1867a7f9e588acf67cf8fa96eab8a6e2fdedcf6;hpb=983a0680c14922cfcd66715cf8fc15b8f54f77ae diff --git a/diskutil.c b/diskutil.c index 5b4eb46d..7be4c022 100644 --- a/diskutil.c +++ b/diskutil.c @@ -701,7 +701,7 @@ void show_disk_util(int terse, struct json_object *parent, struct disk_util *du; bool do_json; - if (!disk_util_sem) + if (!is_running_backend()) return; fio_sem_down(disk_util_sem);