- if (td->iodepth != 1) {
- nd->io_us = malloc(td->iodepth * sizeof(struct io_u *));
- memset(nd->io_us, 0, td->iodepth * sizeof(struct io_u *));
+ if (td->o.iodepth != 1) {
+ nd->io_us = malloc(td->o.iodepth * sizeof(struct io_u *));
+ memset(nd->io_us, 0, td->o.iodepth * sizeof(struct io_u *));