projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
f6cbf8a
)
output_buffer: only realloc once, and memset just what we need
author
Jens Axboe
<axboe@fb.com>
Sat, 31 Oct 2015 01:34:21 +0000
(19:34 -0600)
committer
Jens Axboe
<axboe@fb.com>
Sat, 31 Oct 2015 01:34:21 +0000
(19:34 -0600)
No need looping around a realloc(), just alloc what we need upfront.
Additionally, don't memset the parts we'll be copying into anyway.
Signed-off-by: Jens Axboe <axboe@fb.com>
No differences found