Deleted Added
full compact
40c40
< __FBSDID("$FreeBSD: head/sys/cam/ctl/ctl_error.c 287774 2015-09-14 08:01:05Z mav $");
---
> __FBSDID("$FreeBSD: head/sys/cam/ctl/ctl_error.c 287912 2015-09-17 12:52:18Z mav $");
689c689
< ctl_set_medium_error(struct ctl_scsiio *ctsio)
---
> ctl_set_medium_error(struct ctl_scsiio *ctsio, int read)
691c691
< if ((ctsio->io_hdr.flags & CTL_FLAG_DATA_MASK) == CTL_FLAG_DATA_IN) {
---
> if (read) {