Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334142
b: refs/heads/master
c: bc97774
h: refs/heads/master
v: v3
  • Loading branch information
Lukas Czerner authored and James Bottomley committed Oct 9, 2012
1 parent b4e612f commit b684b04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 329a402cb052b233bc92aa34c4caf2f7dfb2d76e
refs/heads/master: bc977749e967daa56de1922cf4cb38525631c51c
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/scsi_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -2055,7 +2055,7 @@ static void unmap_region(sector_t lba, unsigned int len)
block = lba + alignment;
rem = do_div(block, granularity);

if (rem == 0 && lba + granularity <= end && block < map_size) {
if (rem == 0 && lba + granularity < end && block < map_size) {
clear_bit(block, map_storep);
if (scsi_debug_lbprz)
memset(fake_storep +
Expand Down

0 comments on commit b684b04

Please sign in to comment.