projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch '6.2/scsi-queue' into 6.2/scsi-fixes
[linux-2.6-microblaze.git]
/
drivers
/
scsi
/
storvsc_drv.c
diff --git
a/drivers/scsi/storvsc_drv.c
b/drivers/scsi/storvsc_drv.c
index
d7a84c0
..
22705eb
100644
(file)
--- a/
drivers/scsi/storvsc_drv.c
+++ b/
drivers/scsi/storvsc_drv.c
@@
-1823,6
+1823,9
@@
static int storvsc_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *scmnd)
ret = storvsc_do_io(dev, cmd_request, get_cpu());
put_cpu();
+ if (ret)
+ scsi_dma_unmap(scmnd);
+
if (ret == -EAGAIN) {
/* no more space */
ret = SCSI_MLQUEUE_DEVICE_BUSY;