glusterfs: fix leak in error path

Signed-off-by: Jens Axboe <axboe@fb.com>
rbd: fix leak in error path

Signed-off-by: Jens Axboe <axboe@fb.com>
iolog: do stat() after fopen()

Avoid static checker complaining about a potential race here,
ordering doesn't matter to fio.

Signed-off-by: Jens Axboe <axboe@fb.com>
init: fix dead check for !td

Signed-off-by: Jens Axboe <axboe@fb.com>