]> err.no Git - linux-2.6/commit
[SCSI] fix sg leak when scsi_execute_async fails
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 22 Mar 2006 22:04:38 +0000 (16:04 -0600)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Thu, 13 Apr 2006 15:13:16 +0000 (10:13 -0500)
commit18c49b8cd69c360735df2cc6eeeb2593c01a81e8
treefff4d47d08c8c0531be02f4f47d574cbbb8fdb0e
parent21b2f0c803adaf00fce1b606c50b49ae8b106773
[SCSI] fix sg leak when scsi_execute_async fails

Doug found a bug where if scsi_execute_async fails, we are leaking
sg resources. scsi_do_req never failed so we did not have to handle
that case before.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/sg.c