summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-03-05 15:30:22 +0100
committerKarolin Seeger <kseeger@samba.org>2010-04-01 09:39:18 +0200
commite527d5f29b163183a10d754b038b264e423b0f2a (patch)
tree9bda0c91c007d3fca39260af1415432338940a24
parentde6d05b25755e2a15b269f88739e1fcc1a16cefe (diff)
downloadsamba-e527d5f29b163183a10d754b038b264e423b0f2a.tar.gz
s3: Remove the unused parameter "persistent" from fetch_locked_internal (cherry picked from commit a5db27936e9c6aad99300ea46808481803f57e08)
The last 32 patches address bug #7232 (CTDB persistent transactions are racy). (cherry picked from commit f3ade095089d242484afd0f7fdbcc7826c311368)
-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 05ac7778588..938a3126579 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);
}
/*