]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] trivial scsi_execute_async fix
authorArne Redlich <arne.redlich@xiranet.com>
Sat, 30 Sep 2006 13:49:40 +0000 (15:49 +0200)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 1 Oct 2006 20:06:54 +0000 (15:06 -0500)
commit6470f2ba641cf93d357854cdc63a65350352bb97
treeecba093313d2b75a98c67e706fdee18e2162a871
parentfb4f66be59f3dcc66fda2e681f1fc77b5cc4508d
[SCSI] trivial scsi_execute_async fix

In scsi_execute_async()'s error path, a struct scsi_io_context
allocated with kmem_cache_alloc() is kfree()'d. Obviously
kmem_cache_free() should be used instead.

Signed-off-by: Arne Redlich <arne.redlich@xiranet.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_lib.c