projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[linux-block.git]
/
drivers
/
scsi
/
qla2xxx
/
qla_target.c
diff --git
a/drivers/scsi/qla2xxx/qla_target.c
b/drivers/scsi/qla2xxx/qla_target.c
index 92420766ebec97ba06e368ef5e36e7420b768438..cb97f625970d0cac62ed63dce2f68e5af794a6bd 100644
(file)
--- a/
drivers/scsi/qla2xxx/qla_target.c
+++ b/
drivers/scsi/qla2xxx/qla_target.c
@@
-3819,6
+3819,9
@@
int qlt_abort_cmd(struct qla_tgt_cmd *cmd)
spin_lock_irqsave(&cmd->cmd_lock, flags);
if (cmd->aborted) {
+ if (cmd->sg_mapped)
+ qlt_unmap_sg(vha, cmd);
+
spin_unlock_irqrestore(&cmd->cmd_lock, flags);
/*
* It's normal to see 2 calls in this path: