projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d29cd59
)
Fix typo in flist_sort.c
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 4 May 2010 12:20:21 +0000
(14:20 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 4 May 2010 12:20:21 +0000
(14:20 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
lib/flist_sort.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/flist_sort.c
b/lib/flist_sort.c
index 6c7c4c0310de016c65de02a541c1826d4f3f92f6..9a2da8412593240323df728b99920bfe8a83bc6c 100644
(file)
--- a/
lib/flist_sort.c
+++ b/
lib/flist_sort.c
@@
-125,8
+125,10
@@
void flist_sort(void *priv, struct flist_head *head,
cur = merge(priv, cmp, part[lev], cur);
part[lev] = NULL;
}
- if (lev > max_lev)
+ if (lev > max_lev)
{
assert(lev < ARRAY_SIZE(part) - 1);
+ max_lev = lev;
+ }
part[lev] = cur;
}