aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2021-03-06 03:39:52 +0000
committerAlexander Motin <mav@FreeBSD.org>2021-03-06 03:45:47 +0000
commit6ed39db2573bb808ac2c206cd6c831f0be86219c (patch)
tree2da17d20316e193cd4a6a8163b39c913fe1f3098
parente77cf2a4ab32a381df3c06d25b8b4f650047c3f2 (diff)
-rw-r--r--sys/cam/ctl/ctl_backend_block.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/cam/ctl/ctl_backend_block.c b/sys/cam/ctl/ctl_backend_block.c
index 3663bff10f2a..9f96c157d5ae 100644
--- a/sys/cam/ctl/ctl_backend_block.c
+++ b/sys/cam/ctl/ctl_backend_block.c
@@ -1672,7 +1672,7 @@ ctl_be_block_worker(void *context, int pending)
if (cbe_lun->flags & CTL_LUN_FLAG_NO_MEDIA) {
ctl_set_busy(&io->scsiio);
ctl_complete_beio(beio);
- return;
+ continue;
}
be_lun->dispatch(be_lun, beio);
continue;
@@ -1685,7 +1685,7 @@ ctl_be_block_worker(void *context, int pending)
if (cbe_lun->flags & CTL_LUN_FLAG_NO_MEDIA) {
ctl_set_busy(&io->scsiio);
ctl_config_write_done(io);
- return;
+ continue;
}
ctl_be_block_cw_dispatch(be_lun, io);
continue;
@@ -1698,7 +1698,7 @@ ctl_be_block_worker(void *context, int pending)
if (cbe_lun->flags & CTL_LUN_FLAG_NO_MEDIA) {
ctl_set_busy(&io->scsiio);
ctl_config_read_done(io);
- return;
+ continue;
}
ctl_be_block_cr_dispatch(be_lun, io);
continue;
@@ -1711,7 +1711,7 @@ ctl_be_block_worker(void *context, int pending)
if (cbe_lun->flags & CTL_LUN_FLAG_NO_MEDIA) {
ctl_set_busy(&io->scsiio);
ctl_data_submit_done(io);
- return;
+ continue;
}
ctl_be_block_dispatch(be_lun, io);
continue;