diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2014-11-26 18:33:48 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-12-15 13:34:24 +0100 |
commit | d467d31f700f807ff939cab6d622867ee48c80b6 (patch) | |
tree | 7ad00d81c046ef7818b3c219799cd2b941bbd852 /drivers/scsi/pm8001 | |
parent | qla2xxx: fix race in handling rport deletion during recovery causes panic (diff) | |
download | linux-d467d31f700f807ff939cab6d622867ee48c80b6.tar.xz linux-d467d31f700f807ff939cab6d622867ee48c80b6.zip |
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 'drivers/scsi/pm8001')
0 files changed, 0 insertions, 0 deletions