aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/ctl/ctl_error.h
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2015-09-17 12:52:18 +0000
committerAlexander Motin <mav@FreeBSD.org>2015-09-17 12:52:18 +0000
commit7f7bb97a0f9b8d1726f2fb7db3895068f2e128ea (patch)
treefbc22d0a3a17dcfbcab46cbe367a3da6895e855f /sys/cam/ctl/ctl_error.h
parent5f3a15445d02d97e7ca0aa8101e9fa615ef93014 (diff)
downloadsrc-7f7bb97a0f9b8d1726f2fb7db3895068f2e128ea.tar.gz
src-7f7bb97a0f9b8d1726f2fb7db3895068f2e128ea.zip
Report proper medium error code for VERIFY commands.
Notes
Notes: svn path=/head/; revision=287912
Diffstat (limited to 'sys/cam/ctl/ctl_error.h')
-rw-r--r--sys/cam/ctl/ctl_error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/ctl/ctl_error.h b/sys/cam/ctl/ctl_error.h
index 942def163acb..064f621b1b8e 100644
--- a/sys/cam/ctl/ctl_error.h
+++ b/sys/cam/ctl/ctl_error.h
@@ -73,7 +73,7 @@ void ctl_set_lun_standby(struct ctl_scsiio *ctsio);
void ctl_set_lun_unavail(struct ctl_scsiio *ctsio);
void ctl_set_internal_failure(struct ctl_scsiio *ctsio, int sks_valid,
uint16_t retry_count);
-void ctl_set_medium_error(struct ctl_scsiio *ctsio);
+void ctl_set_medium_error(struct ctl_scsiio *ctsio, int read);
void ctl_set_aborted(struct ctl_scsiio *ctsio);
void ctl_set_lba_out_of_range(struct ctl_scsiio *ctsio);
void ctl_set_lun_stopped(struct ctl_scsiio *ctsio);