]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virStoragePoolObjSourceFindDuplicate: Drop @conn argument
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 17 Aug 2018 13:14:31 +0000 (15:14 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 4 Sep 2018 08:11:40 +0000 (10:11 +0200)
commit4f426ce4bafaef19acc82d3a5adf175e2df505fe
tree8e262456bda79f0d16852f4251a2626bfa6f114d
parentd13009007c1bb807252c3c3a3774f22b919046a4
virStoragePoolObjSourceFindDuplicate: Drop @conn argument

The @conn argument is needed only to do some source matching in
case of iSCSI source. Anyway, it's used just for node device
driver and as such can be replaced with virGetConnectNodeDev().

At the same time, the @conn struct member is dropped from
_virStoragePoolObjFindDuplicateData.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/conf/virstorageobj.c
src/conf/virstorageobj.h
src/storage/storage_driver.c