CM_WRITE
cf->mode = CM_WRITE;
bool may_format = ca->features.mode == CM_WRITE;
set_cache_mode(cache, CM_WRITE);
if (get_cache_mode(cache) != CM_WRITE) {
if (get_cache_mode(cache) == CM_WRITE)
if (get_cache_mode(cache) != CM_WRITE)
if (new_mode == CM_WRITE && needs_check) {
case CM_WRITE:
case CM_WRITE:
case CM_WRITE:
__set_clone_mode(clone, CM_WRITE);
if (get_clone_mode(clone) != CM_WRITE) {