Full readonly check
[fio.git] / engines / null.c
index 823d40def272c820a2d635b994483af94a61b014..bbb4e8ab9a89521516694e14dc9dd7ea00e7f584 100644 (file)
@@ -56,6 +56,8 @@ static int fio_null_queue(struct thread_data fio_unused *td, struct io_u *io_u)
 {
        struct null_data *nd = td->io_ops->data;
 
+       fio_ro_check(td, io_u);
+
        if (td->io_ops->flags & FIO_SYNCIO)
                return FIO_Q_COMPLETED;
        if (nd->events)