From: Jens Axboe Date: Tue, 6 Sep 2005 07:01:30 +0000 (+0200) Subject: [PATCH] Missed the ->device in endianness conversions X-Git-Tag: blktrace-0.99~191 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=e67265ea59442eacc5d1a09e359e07013e489f5e;p=blktrace.git [PATCH] Missed the ->device in endianness conversions --- diff --git a/blktrace.h b/blktrace.h index 167785c..8329d0a 100644 --- 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->device = cpu_to_be32(t->device); /* 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->device = be32_to_cpu(t->device); /* t->comm is a string (endian neutral) */ }