From d467d31f700f807ff939cab6d622867ee48c80b6 Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Wed, 26 Nov 2014 12:33:48 -0500 Subject: [PATCH] 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-format-patch failed