summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-06-16 17:30:07 +0200
committerMichael Adam <obnox@samba.org>2010-08-14 02:10:45 +0200
commitc08a45ebd9aa18d0d5795c90fc467cee089f2b7f (patch)
tree066961cdb66f9e6a65019198635047af758eccfa
parent41cead6a31ff7f5733103fd36711a25559edf43c (diff)
downloadsamba-c08a45ebd9aa18d0d5795c90fc467cee089f2b7f.tar.gz
samba-c08a45ebd9aa18d0d5795c90fc467cee089f2b7f.tar.bz2
samba-c08a45ebd9aa18d0d5795c90fc467cee089f2b7f.zip
s3:idmap_tdb2: rename idmap_tdb2_alloc_load -> idmap_tdb2_init_hwm
-rw-r--r--source3/winbindd/idmap_tdb2.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/source3/winbindd/idmap_tdb2.c b/source3/winbindd/idmap_tdb2.c
index f679553b45..c5992d45d0 100644
--- a/source3/winbindd/idmap_tdb2.c
+++ b/source3/winbindd/idmap_tdb2.c
@@ -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;
@@ -117,8 +117,7 @@ static NTSTATUS idmap_tdb2_open_db(struct idmap_domain *dom)
return NT_STATUS_UNSUCCESSFUL;
}
- /* load the ranges and high/low water marks */
- return idmap_tdb2_alloc_load(dom);
+ return idmap_tdb2_init_hwm(dom);
}