The Samba-Bugzilla – Attachment 11029 Details for
Bug 11260
Gencache is stabilized too often
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am cherry-pick from master for 4.2.next
0001-gencache-don-t-fail-gencache_stabilize-if-there-were.patch (text/plain), 998 bytes, created by
Jeremy Allison
on 2015-05-06 22:36:44 UTC
(
hide
)
Description:
git-am cherry-pick from master for 4.2.next
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2015-05-06 22:36:44 UTC
Size:
998 bytes
patch
obsolete
>From 451845525057921028fb163333fb40786ee2a2ec Mon Sep 17 00:00:00 2001 >From: Michael Adam <obnox@samba.org> >Date: Wed, 4 Feb 2015 14:47:20 +0100 >Subject: [PATCH] gencache: don't fail gencache_stabilize if there were records > to delete. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=11260 > >Signed-off-by: Michael Adam <obnox@samba.org> >Reviewed-by: Jeremy Allison <jra@samba.org> >(cherry picked from commit 600b40db9d95c20c04fd517165dff81b20e35e8e) >--- > source3/lib/gencache.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source3/lib/gencache.c b/source3/lib/gencache.c >index ec96f5a..f09a816 100644 >--- a/source3/lib/gencache.c >+++ b/source3/lib/gencache.c >@@ -681,7 +681,7 @@ bool gencache_stabilize(void) > } > > res = tdb_traverse(cache_notrans->tdb, wipe_fn, NULL); >- if (res != 0) { >+ if (res < 0) { > DEBUG(10, ("tdb_traverse with wipe_fn on gencache_notrans.tdb " > "failed: %s\n", > tdb_errorstr_compat(cache_notrans->tdb))); >-- >2.2.0.rc0.207.ga3a616c >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
obnox
:
review+
vl
:
review+
ira
:
review+
Actions:
View
Attachments on
bug 11260
: 11029