chain: adjust 'mbrchs' calculations, adjust partitier
commit1c1f14dc77b5b361333a7e790eed3206526fb26d
authorMichal Soltys <soltys@ziu.info>
Tue, 24 Aug 2010 23:28:50 +0000 (25 01:28 +0200)
committerMichal Soltys <soltys@ziu.info>
Tue, 28 Sep 2010 07:32:52 +0000 (28 09:32 +0200)
tree4335f8d119cff008aca742ab6f80bd78538ca1cd
parentcc5c2ccd0b4acb64db011459b90574ec33f5284b
chain: adjust 'mbrchs' calculations, adjust partitier

It seems that chs values in extended partitions are expected to provide
absolute positions. Previously these values were calculated directly
from ebr lba values.

Partiter now provides cebr_lba and ebr_lba that hold absolute values
of current and next ebr.

Signed-off-by: Michal Soltys <soltys@ziu.info>
com32/chain/chain.c
com32/chain/partiter.c
com32/chain/partiter.h