git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a09b02
)
In ctdb_ltdb_store(), add a missing transaction_cancel when local store failed.
author
Michael Adam
<obnox@samba.org>
Tue, 20 Oct 2009 14:57:23 +0000
(16:57 +0200)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Wed, 21 Oct 2009 01:49:59 +0000
(12:49 +1100)
Spotted by Volker.
Michael
server/ctdb_persistent.c
patch
|
blob
|
history
diff --git
a/server/ctdb_persistent.c
b/server/ctdb_persistent.c
index 77538d98f910fc70ed626183badf3d82c591bb28..cb77bf092d107c9763686f49176487c7a844cf74 100644
(file)
--- a/
server/ctdb_persistent.c
+++ b/
server/ctdb_persistent.c
@@
-291,7
+291,7
@@
static int ctdb_persistent_store(struct ctdb_persistent_write_state *state)
if (ret != 0) {
DEBUG(DEBUG_CRIT,("Failed to store record for db_id 0x%08x in ctdb_persistent_store\n",
state->ctdb_db->db_id));
-
return -1
;
+
goto failed
;
}
}