commitlog: added file header space twice
commitlog: added file header space twice

Checked wrong var == 0 when creating second mem buffer in segment

Signed-off-by: Calle Wilund <8f9f97eb45ed102f8faf72e01bebf7b2c1679978@cloudius-systems.com>

avikivity/scylla,shaunstanislaus/scylla,senseb/scylla,kangkot/scylla,scylladb/scylla,acbellini/scylla,bowlofstew/scylla,phonkee/scylla,rentongzhang/scylla,guiquanz/scylla,dwdm/scylla,duarten/scylla,asias/scylla,tempbottle/scylla,rluta/scylla,avikivity/scylla,shaunstanislaus/scylla,justintung/scylla,eklitzke/scylla,senseb/scylla,bowlofstew/scylla,dwdm/scylla,glommer/scylla,asias/scylla,victorbriz/scylla,wildinto/scylla,kangkot/scylla,phonkee/scylla,scylladb/scylla,duarten/scylla,tempbottle/scylla,capturePointer/scylla,linearregression/scylla,asias/scylla,phonkee/scylla,tempbottle/scylla,stamhe/scylla,eklitzke/scylla,acbellini/scylla,justintung/scylla,rluta/scylla,stamhe/scylla,gwicke/scylla,aruanruan/scylla,respu/scylla,respu/scylla,capturePointer/scylla,scylladb/scylla,bowlofstew/scylla,duarten/scylla,wildinto/scylla,kjniemi/scylla,dwdm/scylla,scylladb/scylla,glommer/scylla,gwicke/scylla,gwicke/scylla,guiquanz/scylla,victorbriz/scylla,glommer/scylla,avikivity/scylla,acbellini/scylla,eklitzke/scylla,raphaelsc/scylla,aruanruan/scylla,victorbriz/scylla,raphaelsc/scylla,aruanruan/scylla,rentongzhang/scylla,wildinto/scylla,rluta/scylla,justintung/scylla,guiquanz/scylla,senseb/scylla,raphaelsc/scylla,respu/scylla,kangkot/scylla,shaunstanislaus/scylla,capturePointer/scylla,rentongzhang/scylla,linearregression/scylla,stamhe/scylla,kjniemi/scylla,kjniemi/scylla,linearregression/scylla