Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292840
b: refs/heads/master
c: 382436f
h: refs/heads/master
v: v3
  • Loading branch information
Jörn Engel authored and Nicholas Bellinger committed Feb 25, 2012
1 parent b3cb81e commit 44b211c
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: 6cf3fa6918baab0c447f1206f1cef9166ad04864
refs/heads/master: 382436f8804fe1cb20b9a2a811a10eb2d8554721
2 changes: 1 addition & 1 deletion trunk/drivers/target/target_core_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -690,12 +690,12 @@ int target_report_luns(struct se_task *se_task)
* See SPC3 r07, page 159.
*/
done:
transport_kunmap_data_sg(se_cmd);
lun_count *= 8;
buf[0] = ((lun_count >> 24) & 0xff);
buf[1] = ((lun_count >> 16) & 0xff);
buf[2] = ((lun_count >> 8) & 0xff);
buf[3] = (lun_count & 0xff);
transport_kunmap_data_sg(se_cmd);

se_task->task_scsi_status = GOOD;
transport_complete_task(se_task, 1);
Expand Down

0 comments on commit 44b211c

Please sign in to comment.