Init buflen for our dummy buffer
authorJosef Bacik <jbacik@fusionio.com>
Tue, 9 Jul 2013 00:35:01 +0000 (20:35 -0400)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 Jul 2013 00:45:19 +0000 (18:45 -0600)
commit0d81daf9d164c4bf829f4911e1f7b211c2e661fb
treeedf00145e950848261c18a7a96522630faa78340
parenta9f70b1f50879346fb065497951352ad4e1e0f11
Init buflen for our dummy buffer

If we fail to verify our buffer we will allocate a dummy buf to fill in so we
have something to compare our bad file to.  Unfortunately we don't set the
buflen of the dummy buffer which means we will sometimes write well past the end
of our buffer and this make glibc complain loudly.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
verify.c