diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-02-17 21:46:13 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2007-02-17 21:46:13 +0000 |
commit | b64468ffab57c250930c5977f80b84076aa2cf65 (patch) | |
tree | e265b6b5494100a1e347a7902579b9b74fcfc718 | |
parent | 6c8b30728c855341e4654c9bcb9efb424579764d (diff) | |
download | samba-b64468ffab57c250930c5977f80b84076aa2cf65.tar.gz samba-b64468ffab57c250930c5977f80b84076aa2cf65.tar.xz samba-b64468ffab57c250930c5977f80b84076aa2cf65.zip |
r21410: We have to increment the sequence number also when tdb_update_hash()
succeeded. Found while testing the brlock seqnum patch.
Tridge, please check!
Volker
-rw-r--r-- | source/tdb/common/tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tdb/common/tdb.c b/source/tdb/common/tdb.c index addb5b43782..9760ceebf5d 100644 --- a/source/tdb/common/tdb.c +++ b/source/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; |