]> xenbits.xensource.com Git - libvirt.git/commit
conf: drop redundant parameter to chain lookup
authorEric Blake <eblake@redhat.com>
Sat, 12 Apr 2014 04:08:07 +0000 (22:08 -0600)
committerEric Blake <eblake@redhat.com>
Sat, 12 Apr 2014 04:09:37 +0000 (22:09 -0600)
commit74430fe36456db5993e43a65558c80ef8b0c590b
tree733c14f953c09b9e70bd3650d12673f2524697aa
parent6752bc2add9c2d1d87492c227df98bf533c3333f
conf: drop redundant parameter to chain lookup

The original chain lookup code had to pass in the starting name,
because it was not available in the chain.  But now that we have
added fields to the struct, this parameter is redundant.

* src/util/virstoragefile.h (virStorageFileChainLookup): Alter
signature.
* src/util/virstoragefile.c (virStorageFileChainLookup): Adjust
handling of top of chain.
* src/qemu/qemu_driver.c (qemuDomainBlockCommit): Adjust caller.
* tests/virstoragetest.c (testStorageLookup, mymain): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_driver.c
src/util/virstoragefile.c
src/util/virstoragefile.h
tests/virstoragetest.c