log: disable log, if realloc fails
authorJens Axboe <axboe@kernel.dk>
Mon, 30 Sep 2013 18:17:34 +0000 (12:17 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 30 Sep 2013 18:17:34 +0000 (12:17 -0600)
commit3c568239a319087a965b06bc2ed94d058810100f
tree64ccd4afedea81fdd28957dc47744d26e3fb44e5
parentde8f6de97438d5664cd8765e60102b9109a273e2
log: disable log, if realloc fails

Right now we just segfault, if realloc() returns NULL. Handle
this a bit more gracefully, by just disabling logging if that
happens. Fio will also print an error for that case.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
iolog.h
stat.c