Hi Jonas, 2011/12/17 Jonas Gorski <jonas.gorski@xxxxxxxxx>: > - spareaddr = roundup(totallen, master->erasesize) + master->erasesize; > - sparelen = master->size - spareaddr - master->erasesize; > + spareaddr = roundup(totallen, master->erasesize) + cfelen; spareaddr = roundup(totallen, cfelen) + cfelen ? -- Guillaume LECERF OpenBricks developer - www.openbricks.org