diff options
author | David Teigland <teigland@redhat.com> | 2019-02-06 12:32:26 -0600 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2019-06-07 15:54:04 -0500 |
commit | ab61a6d85da4e4f1d540e40ebac77999bf3c9a57 (patch) | |
tree | b11843158056ea2b617b0013aeaf8a5b06f5bc5f /lib/format_text/format-text.h | |
parent | 45b164f62cae25da3ac4b9f0d4f87ecaee1575fa (diff) | |
download | lvm2-ab61a6d85da4e4f1d540e40ebac77999bf3c9a57.tar.gz |
move wipe_outdated_pvs to vg_write
and implement it based on a device, not based
on a pv struct (which is not available when the
device is not a part of the vg.)
currently only the vgremove command wipes outdated
pvs until more advanced recovery is added in a
subsequent commit
Diffstat (limited to 'lib/format_text/format-text.h')
-rw-r--r-- | lib/format_text/format-text.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/format_text/format-text.h b/lib/format_text/format-text.h index c42d5c0f7..2345d52a9 100644 --- a/lib/format_text/format-text.h +++ b/lib/format_text/format-text.h @@ -77,4 +77,7 @@ struct data_area_list { struct disk_locn disk_locn; }; +int text_wipe_outdated_pv_mda(struct cmd_context *cmd, struct device *dev, + struct metadata_area *mda); + #endif |