From: Peter Krempa Date: Mon, 21 Sep 2020 17:39:51 +0000 (+0200) Subject: virDomainSnapshotDiskDef: Remove 'idx' field X-Git-Tag: v6.8.0-rc1~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd7601282c4640782f876aa9b16d959b1f732135;p=thirdparty%2Flibvirt.git virDomainSnapshotDiskDef: Remove 'idx' field It's no longer needed and is valid only after virDomainSnapshotAlignDisks is called while holding the lock. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- 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.