[PATCH] Missed the ->device in endianness conversions
authorJens Axboe <axboe@suse.de>
Tue, 6 Sep 2005 07:01:30 +0000 (09:01 +0200)
committerJens Axboe <axboe@suse.de>
Tue, 6 Sep 2005 07:01:30 +0000 (09:01 +0200)
blktrace.h

index 167785c3bc6485c60c3c4c72baee15c7f768736b..8329d0aa793eae3c2130a92be1366dded9649c6c 100644 (file)
@@ -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) */
 }