[SCSI] Fix protection scsi_data_buffer leak
authorMartin K. Petersen <martin.petersen@oracle.com>
Fri, 18 Sep 2009 21:33:01 +0000 (17:33 -0400)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 2 Oct 2009 14:46:52 +0000 (09:46 -0500)
commitb4c2554d40ceac130a8d062eaa8838ed22158c45
tree370f6c78d8186365c6c595e5fcf6d41b3f67137b
parent35e1a5d90b66487d754ef2f2dcbf1007f806d921
[SCSI] Fix protection scsi_data_buffer leak

We would leak a scsi_data_buffer if the free_list command was of the
protected variety.

Reported-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/scsi.c