summaryrefslogtreecommitdiff
path: root/tests/ubi-tests/io_read.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-07-28 12:52:24 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-07-28 12:55:57 +0300
commit0b2b9c506739c15ec4d31b0a1f74ed583a5e6134 (patch)
treee7000a8c046ae081e5785625b5a5a6624cba9c26 /tests/ubi-tests/io_read.c
parent487550498f70455f083cdc82b65442596fe7308e (diff)
ubinize: fix static volumes generation
When static volumes is generated, the 'used_ebs' field of VID header has to be calculated based on image file size, not on the volume size. Fix this. This patch also improves error reporting a little and re-arrages the code so that all the validation is done in 'read_section()' Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/ubi-tests/io_read.c')
0 files changed, 0 insertions, 0 deletions