projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c0221b
)
[PATCH] blkparse: reverse the order of the skips out for when verbose is enabled
author
Alan D. Brunelle
<Alan.Brunelle@hp.com>
Thu, 19 Jan 2006 14:15:45 +0000
(15:15 +0100)
committer
Jens Axboe
<axboe@suse.de>
Thu, 19 Jan 2006 14:15:45 +0000
(15:15 +0100)
blkparse.c
patch
|
blob
|
blame
|
history
diff --git
a/blkparse.c
b/blkparse.c
index 4a603d26eb6d2217379758c9ad50b325cb29cf93..7a86d0c21a9f93d2e2fdec5b71ae55ca30e88e74 100644
(file)
--- a/
blkparse.c
+++ b/
blkparse.c
@@
-344,7
+344,7
@@
static void collect_pdi_skips(struct per_dev_info *pdi)
pdi->skips = 0;
pdi->seq_skips = 0;
- for (sip = pdi->skips_
tail; sip != NULL; sip = sip->prev
) {
+ for (sip = pdi->skips_
head; sip != NULL; sip = sip->next
) {
pdi->skips += 1;
pdi->seq_skips += (sip->end - sip->start + 1);
if (verbose)