Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312079
b: refs/heads/master
c: 1765fe5
h: refs/heads/master
i:
  312077: 86984a0
  312075: b38134e
  312071: 9af2fb7
  312063: 3a21233
v: v3
  • Loading branch information
Roland Dreier authored and Nicholas Bellinger committed Jul 17, 2012
1 parent d5cbb3e commit 262a6a0
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: d35212f3ca3bf4fb49d15e37f530c9931e2d2183
refs/heads/master: 1765fe5edcb83f53fc67edeb559fcf4bc82c6460
2 changes: 1 addition & 1 deletion trunk/drivers/target/target_core_cdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ int target_emulate_write_same(struct se_cmd *cmd)
if (num_blocks != 0)
range = num_blocks;
else
range = (dev->transport->get_blocks(dev) - lba);
range = (dev->transport->get_blocks(dev) - lba) + 1;

pr_debug("WRITE_SAME UNMAP: LBA: %llu Range: %llu\n",
(unsigned long long)lba, (unsigned long long)range);
Expand Down

0 comments on commit 262a6a0

Please sign in to comment.