summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-03-05 15:30:22 +0100
committerVolker Lendecke <vl@samba.org>2010-03-05 15:33:06 +0100
commita5db27936e9c6aad99300ea46808481803f57e08 (patch)
tree4a00c9f48cb5bbe063fd37072aee0229909f62dd /source3
parentc7835a4845bbc7e4d340a75229866b2d4946f6eb (diff)
downloadsamba-a5db27936e9c6aad99300ea46808481803f57e08.tar.gz
samba-a5db27936e9c6aad99300ea46808481803f57e08.tar.bz2
samba-a5db27936e9c6aad99300ea46808481803f57e08.zip
s3: Remove the unused parameter "persistent" from fetch_locked_internal
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/dbwrap_ctdb.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/source3/lib/dbwrap_ctdb.c b/source3/lib/dbwrap_ctdb.c
index 05ac777858..938a312657 100644
--- a/source3/lib/dbwrap_ctdb.c
+++ b/source3/lib/dbwrap_ctdb.c
@@ -52,11 +52,6 @@ struct db_ctdb_rec {
struct ctdb_ltdb_header header;
};
-static struct db_record *fetch_locked_internal(struct db_ctdb_ctx *ctx,
- TALLOC_CTX *mem_ctx,
- TDB_DATA key,
- bool persistent);
-
static NTSTATUS tdb_error_to_ntstatus(struct tdb_context *tdb)
{
NTSTATUS status;
@@ -921,8 +916,7 @@ static int db_ctdb_record_destr(struct db_record* data)
static struct db_record *fetch_locked_internal(struct db_ctdb_ctx *ctx,
TALLOC_CTX *mem_ctx,
- TDB_DATA key,
- bool persistent)
+ TDB_DATA key)
{
struct db_record *result;
struct db_ctdb_rec *crec;
@@ -1050,7 +1044,7 @@ static struct db_record *db_ctdb_fetch_locked(struct db_context *db,
return db_ctdb_fetch_locked_persistent(ctx, mem_ctx, key);
}
- return fetch_locked_internal(ctx, mem_ctx, key, false);
+ return fetch_locked_internal(ctx, mem_ctx, key);
}
/*