diff options
Diffstat (limited to 'zbd.c')
-rw-r--r-- | zbd.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1620,12 +1620,6 @@ enum io_u_action zbd_adjust_block(struct thread_data *td, struct io_u *io_u) case DDIR_READ: if (td->runstate == TD_VERIFYING && td_write(td)) { zb = zbd_replay_write_order(td, io_u, zb); - /* - * Since we return with the zone lock still held, - * add an annotation to let Coverity know that it - * is intentional. - */ - /* coverity[missing_unlock] */ goto accept; } /* @@ -1786,6 +1780,12 @@ accept: assert(!io_u->zbd_put_io); io_u->zbd_queue_io = zbd_queue_io; io_u->zbd_put_io = zbd_put_io; + /* + * Since we return with the zone lock still held, + * add an annotation to let Coverity know that it + * is intentional. + */ + /* coverity[missing_unlock] */ return io_u_accept; eof: |