example: Destroy volume remnant after it's moved
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
parent
0ede30d552
commit
8453bb9da1
@ -161,6 +161,8 @@ int initialize_cache(ocf_ctx_t ctx, ocf_cache_t *cache)
|
||||
if (ret)
|
||||
goto err_cache;
|
||||
|
||||
ocf_volume_destroy(volume);
|
||||
|
||||
return 0;
|
||||
|
||||
err_cache:
|
||||
|
Loading…
Reference in New Issue
Block a user