|
|
@@ -952,7 +952,6 @@ pscsi_map_sg(struct se_cmd *cmd, struct scatterlist *sgl, u32 sgl_nents,
|
|
|
while (*hbio) {
|
|
|
bio = *hbio;
|
|
|
*hbio = (*hbio)->bi_next;
|
|
|
- bio->bi_next = NULL;
|
|
|
bio_endio(bio, 0); /* XXX: should be error */
|
|
|
}
|
|
|
return TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE;
|
|
|
@@ -1092,7 +1091,6 @@ pscsi_execute_cmd(struct se_cmd *cmd)
|
|
|
while (hbio) {
|
|
|
struct bio *bio = hbio;
|
|
|
hbio = hbio->bi_next;
|
|
|
- bio->bi_next = NULL;
|
|
|
bio_endio(bio, 0); /* XXX: should be error */
|
|
|
}
|
|
|
ret = TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE;
|