From: Alasdair Kergon Date: Sun, 27 Mar 2011 13:44:08 +0000 (+0000) Subject: Rename _check_version X-Git-Tag: v2_02_91~972 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=9c58641e748daef5d44e8069d66ce9b251ea1bf3;p=lvm2.git Rename _check_version --- diff --git a/lib/format_text/import_vsn1.c b/lib/format_text/import_vsn1.c index 3292e325f..70d9f4611 100644 --- a/lib/format_text/import_vsn1.c +++ b/lib/format_text/import_vsn1.c @@ -54,7 +54,7 @@ static void _invalid_format(const char *str) * Checks that the config file contains vg metadata, and that it * we recognise the version number, */ -static int _check_version(const struct config_tree *cft) +static int _vsn1_check_version(const struct config_tree *cft) { const struct config_node *cn; const struct config_value *cv; @@ -871,7 +871,7 @@ static const char *_read_vgname(const struct format_type *fmt, } static struct text_vg_version_ops _vsn1_ops = { - .check_version = _check_version, + .check_version = _vsn1_check_version, .read_vg = _read_vg, .read_desc = _read_desc, .read_vgname = _read_vgname,