The bad-block parsers already filter out empty regions, so they won't
cause a problem. And this way we don't reject groups of adjacent bad
blocks, though we don't actually merge them as we probably should.
DEFVEC(file_v, struct file);
static file_v filetab = VEC_INIT;
DEFVEC(file_v, struct file);
static file_v filetab = VEC_INIT;
-enum { EV_WRITE, EV_BEGIN, EV_END, EV_STOP };
+enum { EV_STOP, EV_BEGIN, EV_END, EV_WRITE };
struct event {
unsigned char ev, file;
uint32_t pos;
struct event {
unsigned char ev, file;
uint32_t pos;