Merge pull request #96 from micrakow/volume_move_fix
Added original uuid deinitialization without freeing
This commit is contained in:
commit
0192f4070d
@ -143,6 +143,7 @@ void ocf_volume_move(ocf_volume_t volume, ocf_volume_t from)
|
|||||||
*/
|
*/
|
||||||
from->opened = false;
|
from->opened = false;
|
||||||
from->priv = NULL;
|
from->priv = NULL;
|
||||||
|
from->uuid.data = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
int ocf_volume_create(ocf_volume_t *volume, ocf_volume_type_t type,
|
int ocf_volume_create(ocf_volume_t *volume, ocf_volume_type_t type,
|
||||||
|
Loading…
Reference in New Issue
Block a user