diff options
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
-rw-r--r-- | drivers/scsi/scsi_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c index 57fbd5a3d4e2..5cda11c07c68 100644 --- a/drivers/scsi/scsi_debug.c +++ b/drivers/scsi/scsi_debug.c | |||
@@ -2055,7 +2055,7 @@ static void unmap_region(sector_t lba, unsigned int len) | |||
2055 | block = lba + alignment; | 2055 | block = lba + alignment; |
2056 | rem = do_div(block, granularity); | 2056 | rem = do_div(block, granularity); |
2057 | 2057 | ||
2058 | if (rem == 0 && lba + granularity <= end && block < map_size) { | 2058 | if (rem == 0 && lba + granularity < end && block < map_size) { |
2059 | clear_bit(block, map_storep); | 2059 | clear_bit(block, map_storep); |
2060 | if (scsi_debug_lbprz) | 2060 | if (scsi_debug_lbprz) |
2061 | memset(fake_storep + | 2061 | memset(fake_storep + |