Re: [PATCH 13/13] virDomainSnapshotDiskDef: Remove 'idx' field

2020-09-23 Thread Ján Tomko

On a Wednesday in 2020, Peter Krempa wrote:

It's no longer needed and is valid only after virDomainSnapshotAlignDisks
is called while holding the lock.

Signed-off-by: Peter Krempa 
---
src/conf/snapshot_conf.h | 1 -
1 file changed, 1 deletion(-)



Reviewed-by: Ján Tomko 

Jano


signature.asc
Description: PGP signature


[PATCH 13/13] virDomainSnapshotDiskDef: Remove 'idx' field

2020-09-23 Thread Peter Krempa
It's no longer needed and is valid only after virDomainSnapshotAlignDisks
is called while holding the lock.

Signed-off-by: Peter Krempa 
---
 src/conf/snapshot_conf.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/conf/snapshot_conf.h b/src/conf/snapshot_conf.h
index b5b1ef2718..fbc9b17c54 100644
--- a/src/conf/snapshot_conf.h
+++ b/src/conf/snapshot_conf.h
@@ -63,7 +63,6 @@ typedef struct _virDomainSnapshotDiskDef 
virDomainSnapshotDiskDef;
 typedef virDomainSnapshotDiskDef *virDomainSnapshotDiskDefPtr;
 struct _virDomainSnapshotDiskDef {
 char *name; /* name matching the dom->disks that matches name */
 int snapshot;   /* virDomainSnapshotLocation */

 /* details of wrapper external file. src is always non-NULL.
-- 
2.26.2