output_buffer: only realloc once, and memset just what we need
authorJens Axboe <axboe@fb.com>
Sat, 31 Oct 2015 01:34:21 +0000 (19:34 -0600)
committerJens 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