From e67265ea59442eacc5d1a09e359e07013e489f5e Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 6 Sep 2005 09:01:30 +0200 Subject: [PATCH] [PATCH] Missed the ->device in endianness conversions --- blktrace.h | 2 -- 1 file changed, 2 deletions(-) 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) */ } -- 2.25.1