]> sourceware.org Git - lvm2.git/commitdiff
Rename _check_version
authorAlasdair Kergon <agk@redhat.com>
Sun, 27 Mar 2011 13:44:08 +0000 (13:44 +0000)
committerAlasdair Kergon <agk@redhat.com>
Sun, 27 Mar 2011 13:44:08 +0000 (13:44 +0000)
lib/format_text/import_vsn1.c

index 3292e325fc42fa296f8c4ee40a49fbdca023bfd6..70d9f461138036872471b1d109145413bdbbf283 100644 (file)
@@ -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,
This page took 0.042376 seconds and 5 git commands to generate.