MFC r292290: Set DS flag, required for LPB log page by spec.

This commit is contained in:
mav 2015-12-22 09:02:51 +00:00
parent bcb7eaa910
commit df0dedf653

View File

@ -6870,6 +6870,8 @@ ctl_log_sense(struct ctl_scsiio *ctsio)
header = (struct scsi_log_header *)ctsio->kern_data_ptr;
header->page = page_index->page_code;
if (page_index->page_code == SLS_LOGICAL_BLOCK_PROVISIONING)
header->page |= SL_DS;
if (page_index->subpage) {
header->page |= SL_SPF;
header->subpage = page_index->subpage;