Added iso_volset_ref().
This commit is contained in:
parent
485607ce7b
commit
b9c4f7ad1d
@ -442,6 +442,8 @@ struct iso_volume *iso_volume_new_with_root(const char *volume_id,
|
||||
*/
|
||||
void iso_volume_free(struct iso_volume *volume);
|
||||
|
||||
void iso_volset_ref(struct iso_volset *volset);
|
||||
|
||||
/**
|
||||
* Free a set of data volumes.
|
||||
*/
|
||||
|
@ -25,6 +25,12 @@ iso_volset_new(struct iso_volume *vol, const char *id)
|
||||
return volset;
|
||||
}
|
||||
|
||||
void
|
||||
iso_volset_ref(struct iso_volset *volset)
|
||||
{
|
||||
++volset->refcount;
|
||||
}
|
||||
|
||||
void
|
||||
iso_volset_free(struct iso_volset *volset)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user