From a2713cceb3a8efef8b86bec06f10689c95ddbc8c Mon Sep 17 00:00:00 2001 From: Arvind Kumar Date: Sat, 8 Mar 2014 12:51:12 -0800 Subject: [PATCH] [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 Tested-by: Ewan Milne Signed-off-by: James Bottomley --- Reading git-format-patch failed