diff options
Diffstat (limited to 'drivers/scsi/sg.c')
-rw-r--r-- | drivers/scsi/sg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index 5103855242ae..8f0bd3f7a59f 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c | |||
@@ -1669,6 +1669,8 @@ static int sg_start_req(Sg_request *srp, unsigned char *cmd) | |||
1669 | md->pages = req_schp->pages; | 1669 | md->pages = req_schp->pages; |
1670 | md->page_order = req_schp->page_order; | 1670 | md->page_order = req_schp->page_order; |
1671 | md->nr_entries = req_schp->k_use_sg; | 1671 | md->nr_entries = req_schp->k_use_sg; |
1672 | md->offset = 0; | ||
1673 | md->null_mapped = hp->dxferp ? 0 : 1; | ||
1672 | } | 1674 | } |
1673 | 1675 | ||
1674 | if (iov_count) | 1676 | if (iov_count) |