]> xenbits.xensource.com Git - libvirt.git/commit
storage_file_probe: Remove BACKING_STORE_OK,BACKING_STORE_INVALID states
authorPeter Krempa <pkrempa@redhat.com>
Fri, 24 Nov 2023 08:26:39 +0000 (09:26 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 27 Nov 2023 09:12:34 +0000 (10:12 +0100)
commit60df39abc84a2f54e23df80b51ea89a3c9744625
treee6a2834d55a643a1c5aed7655851ccc823d97bdd
parent943c5758b0c00c788ea665bd833c585b724f2c25
storage_file_probe: Remove BACKING_STORE_OK,BACKING_STORE_INVALID states

Replace the return values by 0 because none of the callers care and some
of the backing store parser functions return this state also in cases
the rest of the code would consider as success.

Subsequently the parsers will be refactored and proper error reporting
returned.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/storage_file/storage_file_probe.c