aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/scsi_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index d6743b959a72..8ada93ae34f7 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -424,7 +424,7 @@ int scsi_execute_async(struct scsi_device *sdev, const unsigned char *cmd,
424free_req: 424free_req:
425 blk_put_request(req); 425 blk_put_request(req);
426free_sense: 426free_sense:
427 kfree(sioc); 427 kmem_cache_free(scsi_io_context_cache, sioc);
428 return DRIVER_ERROR << 24; 428 return DRIVER_ERROR << 24;
429} 429}
430EXPORT_SYMBOL_GPL(scsi_execute_async); 430EXPORT_SYMBOL_GPL(scsi_execute_async);