diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-08-09 06:36:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:01:36 -0500 |
commit | 4792285282e2ec78ccb0ebc3cac6465d1d26ef10 (patch) | |
tree | 3ba453bf9b873dcf501b056bfcd57bbe6d93e88d /source4/ntvfs/common/brlock.c | |
parent | d8c070a550736ccfa09c9babfd477d362a74decf (diff) | |
download | samba-4792285282e2ec78ccb0ebc3cac6465d1d26ef10.tar.gz samba-4792285282e2ec78ccb0ebc3cac6465d1d26ef10.tar.bz2 samba-4792285282e2ec78ccb0ebc3cac6465d1d26ef10.zip |
r24284: change brlock_tdb.c to use the dbwrap API. This actually makes the
backend abstraction for brlock pointless, but I have left it in place
for now. It would be useful for other clustering systems that can't
map to dbwrap, and would also be useful if we wanted to keep the
remote function call capabilities in ctdb instead of the less
efficient fetch_locked() call in dbwrap
(This used to be commit 912c014b7c131ab051ff6eb2db4e68cb6fbbeb14)
Diffstat (limited to 'source4/ntvfs/common/brlock.c')
-rw-r--r-- | source4/ntvfs/common/brlock.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source4/ntvfs/common/brlock.c b/source4/ntvfs/common/brlock.c index 56d3ff80f6..27d7437f4f 100644 --- a/source4/ntvfs/common/brlock.c +++ b/source4/ntvfs/common/brlock.c @@ -52,11 +52,7 @@ struct brl_context *brl_init(TALLOC_CTX *mem_ctx, struct server_id server, struct messaging_context *messaging_ctx) { if (ops == NULL) { - if (lp_parm_bool(-1, "ctdb", "brlock", False)) { - brl_ctdb_init_ops(); - } else { - brl_tdb_init_ops(); - } + brl_tdb_init_ops(); } return ops->brl_init(mem_ctx, server, messaging_ctx); } |