s3:registry: rename regdb_upgrade_to_version_2() -> regdb_upgrade_v1_to_v2()
authorMichael Adam <obnox@samba.org>
Fri, 25 Jun 2010 16:04:52 +0000 (18:04 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 25 Jun 2010 16:04:52 +0000 (18:04 +0200)
source3/registry/reg_backend_db.c

index 9a0e632472c27af98401e529826aa2a0741b1b4b..84faaf602d99ed69826a10cb9cd763653e65a845 100644 (file)
@@ -439,7 +439,7 @@ static int regdb_normalize_keynames_fn(struct db_record *rec,
        return 0;
 }
 
-static WERROR regdb_upgrade_to_version_2(void)
+static WERROR regdb_upgrade_v1_to_v2(void)
 {
        TALLOC_CTX *mem_ctx;
        int rc;
@@ -529,7 +529,7 @@ WERROR regdb_init(void)
                        return WERR_REG_IO_FAILURE;
                }
 
-               werr = regdb_upgrade_to_version_2();
+               werr = regdb_upgrade_v1_to_v2();
                if (!W_ERROR_IS_OK(werr)) {
                        regdb->transaction_cancel(regdb);
                        return werr;