s3:idmap_tdb2: rename idmap_tdb2_alloc_load -> idmap_tdb2_init_hwm
authorMichael Adam <obnox@samba.org>
Wed, 16 Jun 2010 15:30:07 +0000 (17:30 +0200)
committerMichael Adam <obnox@samba.org>
Sat, 14 Aug 2010 00:10:45 +0000 (02:10 +0200)
source3/winbindd/idmap_tdb2.c

index f679553b455f6d87a325907b2f4c66c405a8597a..c5992d45d0633d36ae8ede35fc6063949a8b844c 100644 (file)
@@ -53,9 +53,9 @@ static struct db_context *idmap_tdb2;
 
 
 /*
 
 
 /*
-  load the idmap allocation ranges and high/low water marks
-*/
-static NTSTATUS idmap_tdb2_alloc_load(struct idmap_domain *dom)
+ * check and initialize high/low water marks in the db
+ */
+static NTSTATUS idmap_tdb2_init_hwm(struct idmap_domain *dom)
 {
        uint32 low_id;
 
 {
        uint32 low_id;
 
@@ -117,8 +117,7 @@ static NTSTATUS idmap_tdb2_open_db(struct idmap_domain *dom)
                return NT_STATUS_UNSUCCESSFUL;
        }
 
                return NT_STATUS_UNSUCCESSFUL;
        }
 
-       /* load the ranges and high/low water marks */
-       return idmap_tdb2_alloc_load(dom);
+       return idmap_tdb2_init_hwm(dom);
 }
 
 
 }