projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ea6249
)
[PATCH] blkparse: __account_c() needs to take a signed integer
author
Jens Axboe
<axboe@suse.de>
Fri, 13 Jan 2006 12:26:27 +0000
(13:26 +0100)
committer
Jens Axboe
<axboe@suse.de>
Fri, 13 Jan 2006 12:26:27 +0000
(13:26 +0100)
Otherwise requeues passing negative byte count don't work as expected.
blkparse.c
patch
|
blob
|
blame
|
history
diff --git
a/blkparse.c
b/blkparse.c
index ebe0f5d49074c145e18d8ffcf7883e22460ce8c2..456f6008b1e8b009aefc51927b7114ae34726332 100644
(file)
--- a/
blkparse.c
+++ b/
blkparse.c
@@
-849,7
+849,7
@@
static inline void account_queue(struct blk_io_trace *t,
}
}
-static inline void __account_c(struct io_stats *ios, int rw,
unsigned
int bytes)
+static inline void __account_c(struct io_stats *ios, int rw, int bytes)
{
if (rw) {
ios->cwrites++;