]> sourceware.org Git - lvm2.git/commit
label_read_pvid: separate error and no-pvid
authorDavid Teigland <teigland@redhat.com>
Fri, 23 Apr 2021 22:32:37 +0000 (17:32 -0500)
committerDavid Teigland <teigland@redhat.com>
Fri, 23 Apr 2021 22:37:08 +0000 (17:37 -0500)
commit4dc5d4ac7e7a9457ccc46ff04796b347e58bf4da
tree1351a95314ea922a11e2f40677fc614fc206a457
parentfcbed26393f57d49daa7da73922b1a922f9523a2
label_read_pvid: separate error and no-pvid

error reading dev and no pvid on dev were both
returning 0.  make it easier for callers to
know which, if they care.

return 1 if the device could be read, regardless
of whether a pvid was found or not.
set has_pvid=1 if a pvid is found and 0 if no
pvid is found.
lib/device/device_id.c
lib/label/label.c
lib/label/label.h
tools/lvmdevices.c
tools/pvscan.c
This page took 0.040194 seconds and 5 git commands to generate.