STATE_DIRTY
if (mtdblk->cache_state == STATE_DIRTY &&
mtdblk->cache_state = STATE_DIRTY;
if (mtdblk->cache_state != STATE_DIRTY)