diff options
author | Michael Adam <obnox@samba.org> | 2012-06-29 10:43:11 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-06-29 15:21:18 +0200 |
commit | d6abf79247c4a60a6cdc221904e6fcacf5e1ac9a (patch) | |
tree | 045194074d362aadccb35fa6ae7f86e303c286e8 /source3/lib/dbwrap | |
parent | 9d11277337113bad885240f2fc53c692c1be99bf (diff) | |
download | samba-d6abf79247c4a60a6cdc221904e6fcacf5e1ac9a.tar.gz samba-d6abf79247c4a60a6cdc221904e6fcacf5e1ac9a.tar.bz2 samba-d6abf79247c4a60a6cdc221904e6fcacf5e1ac9a.zip |
s3:dbrwap_ctdb: remove commented out legacy code
Diffstat (limited to 'source3/lib/dbwrap')
-rw-r--r-- | source3/lib/dbwrap/dbwrap_ctdb.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c index 01dfacac1a..922a5cf665 100644 --- a/source3/lib/dbwrap/dbwrap_ctdb.c +++ b/source3/lib/dbwrap/dbwrap_ctdb.c @@ -1098,11 +1098,7 @@ again: * take the shortcut and just return it. */ - if (!db_ctdb_own_record(ctdb_data, false) -#if 0 - || (random() % 2 != 0) -#endif -) { + if (!db_ctdb_own_record(ctdb_data, false)) { SAFE_FREE(ctdb_data.dptr); tdb_chainunlock(ctx->wtdb->tdb, key); talloc_set_destructor(result, NULL); |