svn commit: samba r21410 - in branches: SAMBA_3_0/source/tdb/common
SAMBA_3_0_25/source/tdb/common SAMBA_4_0/source/lib/tdb/common
vlendec at samba.org
vlendec at samba.org
Sat Feb 17 21:46:14 GMT 2007
Author: vlendec
Date: 2007-02-17 21:46:13 +0000 (Sat, 17 Feb 2007)
New Revision: 21410
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21410
Log:
We have to increment the sequence number also when tdb_update_hash()
succeeded. Found while testing the brlock seqnum patch.
Tridge, please check!
Volker
Modified:
branches/SAMBA_3_0/source/tdb/common/tdb.c
branches/SAMBA_3_0_25/source/tdb/common/tdb.c
branches/SAMBA_4_0/source/lib/tdb/common/tdb.c
Changeset:
Modified: branches/SAMBA_3_0/source/tdb/common/tdb.c
===================================================================
--- branches/SAMBA_3_0/source/tdb/common/tdb.c 2007-02-17 18:47:40 UTC (rev 21409)
+++ branches/SAMBA_3_0/source/tdb/common/tdb.c 2007-02-17 21:46:13 UTC (rev 21410)
@@ -328,9 +328,9 @@
goto fail;
}
+ out:
tdb_increment_seqnum(tdb);
- out:
SAFE_FREE(p);
tdb_unlock(tdb, BUCKET(hash), F_WRLCK);
return ret;
Modified: branches/SAMBA_3_0_25/source/tdb/common/tdb.c
===================================================================
--- branches/SAMBA_3_0_25/source/tdb/common/tdb.c 2007-02-17 18:47:40 UTC (rev 21409)
+++ branches/SAMBA_3_0_25/source/tdb/common/tdb.c 2007-02-17 21:46:13 UTC (rev 21410)
@@ -328,9 +328,9 @@
goto fail;
}
+ out:
tdb_increment_seqnum(tdb);
- out:
SAFE_FREE(p);
tdb_unlock(tdb, BUCKET(hash), F_WRLCK);
return ret;
Modified: branches/SAMBA_4_0/source/lib/tdb/common/tdb.c
===================================================================
--- branches/SAMBA_4_0/source/lib/tdb/common/tdb.c 2007-02-17 18:47:40 UTC (rev 21409)
+++ branches/SAMBA_4_0/source/lib/tdb/common/tdb.c 2007-02-17 21:46:13 UTC (rev 21410)
@@ -328,9 +328,9 @@
goto fail;
}
+ out:
tdb_increment_seqnum(tdb);
- out:
SAFE_FREE(p);
tdb_unlock(tdb, BUCKET(hash), F_WRLCK);
return ret;
More information about the samba-cvs
mailing list