projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7b41ec1
)
[PATCH] Missed the ->device in endianness conversions
author
Jens Axboe
<axboe@suse.de>
Tue, 6 Sep 2005 07:01:30 +0000
(09:01 +0200)
committer
Jens Axboe
<axboe@suse.de>
Tue, 6 Sep 2005 07:01:30 +0000
(09:01 +0200)
blktrace.h
patch
|
blob
|
blame
|
history
diff --git
a/blktrace.h
b/blktrace.h
index 167785c3bc6485c60c3c4c72baee15c7f768736b..8329d0aa793eae3c2130a92be1366dded9649c6c 100644
(file)
--- a/
blktrace.h
+++ b/
blktrace.h
@@
-54,7
+54,6
@@
static inline void trace_to_be(struct blk_io_trace *t)
t->cpu = cpu_to_be32(t->cpu);
t->error = cpu_to_be16(t->error);
t->pdu_len = cpu_to_be16(t->pdu_len);
t->cpu = cpu_to_be32(t->cpu);
t->error = cpu_to_be16(t->error);
t->pdu_len = cpu_to_be16(t->pdu_len);
- t->device = cpu_to_be32(t->device);
/* t->comm is a string (endian neutral) */
}
/* t->comm is a string (endian neutral) */
}
@@
-70,7
+69,6
@@
static inline void trace_to_cpu(struct blk_io_trace *t)
t->cpu = be32_to_cpu(t->cpu);
t->error = be16_to_cpu(t->error);
t->pdu_len = be16_to_cpu(t->pdu_len);
t->cpu = be32_to_cpu(t->cpu);
t->error = be16_to_cpu(t->error);
t->pdu_len = be16_to_cpu(t->pdu_len);
- t->device = be32_to_cpu(t->device);
/* t->comm is a string (endian neutral) */
}
/* t->comm is a string (endian neutral) */
}