Introduce enum fio_q_status
[fio.git] / engines / null.c
index 8c26ad7179aa1589720e7d6e3d4e84e4261d3cc8..b1718e5c9a35fea7826fadcff340762e373c0e14 100644 (file)
@@ -56,8 +56,8 @@ static int null_commit(struct thread_data *td, struct null_data *nd)
        return 0;
 }
 
-static int null_queue(struct thread_data *td, struct null_data *nd,
-                     struct io_u *io_u)
+static enum fio_q_status
+null_queue(struct thread_data *td, struct null_data *nd, struct io_u *io_u)
 {
        fio_ro_check(td, io_u);
 
@@ -118,7 +118,8 @@ static int fio_null_commit(struct thread_data *td)
        return null_commit(td, td->io_ops_data);
 }
 
-static int fio_null_queue(struct thread_data *td, struct io_u *io_u)
+static enum fio_q_status
+fio_null_queue(struct thread_data *td, struct io_u *io_u)
 {
        return null_queue(td, td->io_ops_data, io_u);
 }