diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2019-01-25 18:46:09 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-01-29 07:24:31 +0100 |
commit | 40d07b523cf434f252b134c86b1f8f2d907ffb0b (patch) | |
tree | 34060aee3222c5cefa4a8cbd383d0c4262e637f2 /drivers/scsi/bnx2fc | |
parent | scsi: libfc: free skb when receiving invalid flogi resp (diff) | |
download | linux-40d07b523cf434f252b134c86b1f8f2d907ffb0b.tar.xz linux-40d07b523cf434f252b134c86b1f8f2d907ffb0b.zip |
scsi: scsi_debug: fix write_same with virtual_gb problem
The WRITE SAME(10) and (16) implementations didn't take account of the
buffer wrap required when the virtual_gb parameter is greater than 0.
Fix that and rename the fake_store() function to lba2fake_store() to lessen
confusion with the global fake_storep pointer. Bump version date.
Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Reported-by: Bart Van Assche <bvanassche@acm.org>
Tested by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/bnx2fc')
0 files changed, 0 insertions, 0 deletions