summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2014-11-26 20:33:48 +0300
committerChristoph Hellwig <hch@lst.de>2014-12-15 15:34:24 +0300
commitd467d31f700f807ff939cab6d622867ee48c80b6 (patch)
tree7ad00d81c046ef7818b3c219799cd2b941bbd852 /net
parentb9f85b1d32cc55b20984149eacb2e6f4c3aedca3 (diff)
downloadlinux-d467d31f700f807ff939cab6d622867ee48c80b6.tar.xz
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 <dgilbert@interlog.com> Reviewed-by: Ewan D. Milne <emilne@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions