summaryrefslogtreecommitdiff
path: root/drivers/mtd/mtdblock_ro.c
diff options
context:
space:
mode:
authorArvind Kumar <arvindkumar@vmware.com>2014-03-09 00:51:12 +0400
committerJames Bottomley <JBottomley@Parallels.com>2014-03-20 02:04:45 +0400
commita2713cceb3a8efef8b86bec06f10689c95ddbc8c (patch)
tree66ae4312f340d057675091a9c240fe5bb09ce470 /drivers/mtd/mtdblock_ro.c
parent4909cc2b89715c2dfd4c466a37cc08b2b3890fed (diff)
downloadlinux-a2713cceb3a8efef8b86bec06f10689c95ddbc8c.tar.xz
[SCSI] vmw_pvscsi: Fix pvscsi_abort() function.
This change ensures that pvscsi_abort() function returns SUCCESS only when the command in question was actually completed, otherwise returns FAILURE. The code before change, was causing a bug where driver tries to complete a command to the mid-layer while the mid-layer has already requested the driver to abort that command, in response to which the driver has responded with SUCCESS causing mid-layer to free the command struct. Signed-off-by: Arvind Kumar <arvindkumar@vmware.com> Tested-by: Ewan Milne <emilne@redhat.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/mtd/mtdblock_ro.c')
0 files changed, 0 insertions, 0 deletions