]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: storage: Make @backingFormat optional in virStorageFileGetMetadataInternal
authorPeter Krempa <pkrempa@redhat.com>
Tue, 20 Jun 2017 14:34:14 +0000 (16:34 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 20 Jun 2017 14:50:26 +0000 (16:50 +0200)
commit296a53313f447d2f251cbea2cb050d2f695a7991
tree8dc1ea6939bcafd32a18f2fa218f38a182bab037
parente20853e1d32ff517e6feec3146066ec433fc39e6
util: storage: Make @backingFormat optional in virStorageFileGetMetadataInternal

Some callers don't need to know the backing format. Make the argument
optional by using a dummy int if NULL is passed.
src/util/virstoragefile.c
src/util/virstoragefile.h