mirror of https://gitee.com/openkylin/libvirt.git
storage: Use consistent variable names for driver
A virStoragePoolObjPtr will be an 'obj'. A virStoragePoolPtr will be a 'pool'. A virStorageVolPtr will be a 'vol'. A virStorageVolDefPtr will be a 'voldef'. Signed-off-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
b157f7e734
commit
905f1024bd
File diff suppressed because it is too large
Load Diff
|
@ -40,8 +40,8 @@ storagePoolLookupByTargetPath(virConnectPtr conn,
|
|||
const char *path)
|
||||
ATTRIBUTE_NONNULL(2);
|
||||
|
||||
char *virStoragePoolObjBuildTempFilePath(virStoragePoolObjPtr pool,
|
||||
virStorageVolDefPtr vol)
|
||||
char *virStoragePoolObjBuildTempFilePath(virStoragePoolObjPtr obj,
|
||||
virStorageVolDefPtr voldef)
|
||||
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_RETURN_CHECK;
|
||||
|
||||
int storageRegister(void);
|
||||
|
|
Loading…
Reference in New Issue