Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252432
b: refs/heads/master
c: c498bf1
h: refs/heads/master
v: v3
  • Loading branch information
Martin K. Petersen authored and James Bottomley committed May 24, 2011
1 parent 9b63bc0 commit 3fb52e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 756aca7edd37611b73e1e86ea64a67b62d251509
refs/heads/master: c498bf1a1bd4e4a9140045b747cafe6386bc59a5
4 changes: 4 additions & 0 deletions trunk/drivers/scsi/scsi_trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ scsi_trace_rw10(struct trace_seq *p, unsigned char *cdb, int len)
trace_seq_printf(p, "lba=%llu txlen=%llu protect=%u",
(unsigned long long)lba, (unsigned long long)txlen,
cdb[1] >> 5);

if (cdb[0] == WRITE_SAME)
trace_seq_printf(p, " unmap=%u", cdb[1] >> 3 & 1);

trace_seq_putc(p, 0);

return ret;
Expand Down

0 comments on commit 3fb52e0

Please sign in to comment.