
5 Oct
2011
5 Oct
'11
7:55 a.m.
2011/10/3 Eric Blake <eblake@redhat.com>:
No need to request the parent of a snapshot if we aren't going to use it.
* src/esx/esx_vi.c (esxVI_GetSnapshotTreeByName): Make parent optional. * src/esx/esx_driver.c (esxDomainSnapshotCreateXML) (esxDomainSnapshotLookupByName, esxDomainRevertToSnapshot) (esxDomainSnapshotDelete): Simplify accordingly. --- src/esx/esx_driver.c | 12 ++++-------- src/esx/esx_vi.c | 7 ++++--- 2 files changed, 8 insertions(+), 11 deletions(-)
ACK. -- Matthias Bolte http://photron.blogspot.com