git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33142f7
)
r21410: We have to increment the sequence number also when tdb_update_hash()
author
Volker Lendecke
<vlendec@samba.org>
Sat, 17 Feb 2007 21:46:13 +0000
(21:46 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:48:27 +0000
(14:48 -0500)
succeeded. Found while testing the brlock seqnum patch.
Tridge, please check!
Volker
source/lib/tdb/common/tdb.c
patch
|
blob
|
history
diff --git
a/source/lib/tdb/common/tdb.c
b/source/lib/tdb/common/tdb.c
index 5810f46d56b7f046becadd89775d58b2dcb13c2d..4a1a3b9c6faab16f6a26c04e27dfe3a5fd9d0ae1 100644
(file)
--- a/
source/lib/tdb/common/tdb.c
+++ b/
source/lib/tdb/common/tdb.c
@@
-328,9
+328,9
@@
int tdb_store(struct tdb_context *tdb, TDB_DATA key, TDB_DATA dbuf, int flag)
goto fail;
}
+ out:
tdb_increment_seqnum(tdb);
- out:
SAFE_FREE(p);
tdb_unlock(tdb, BUCKET(hash), F_WRLCK);
return ret;