From: Douglas Gilbert Date: Wed, 26 Nov 2014 17:33:48 +0000 (-0500) Subject: scsi_debug: fix compare and write errors X-Git-Tag: omap-for-v3.19/fixes-rc1~11^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d467d31f700f807ff939cab6d622867ee48c80b6;p=pandora-kernel.git scsi_debug: fix compare and write errors Kernel build tools pointed out a memory leak so that has been fixed and its error paths strengthened with a goto. Testing showed compare and write was only working for lba=0; correcting the length of the LBA field fixed that. Signed-off-by: Douglas Gilbert Reviewed-by: Ewan D. Milne Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed