summaryrefslogtreecommitdiff
path: root/blktrace.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2005-09-06 09:01:30 +0200
committerJens Axboe <axboe@suse.de>2005-09-06 09:01:30 +0200
commite67265ea59442eacc5d1a09e359e07013e489f5e (patch)
tree598eff44c81184dcd764cd3a235aac56247ebc94 /blktrace.h
parent7b41ec18f814b739107cf7cc3f879b44b94129ab (diff)
downloadblktrace-e67265ea59442eacc5d1a09e359e07013e489f5e.tar.gz
blktrace-e67265ea59442eacc5d1a09e359e07013e489f5e.tar.bz2
[PATCH] Missed the ->device in endianness conversions
Diffstat (limited to 'blktrace.h')
-rw-r--r--blktrace.h2
1 files changed, 0 insertions, 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) */
}