summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-07-07 12:20:23 +0200
committerMichael Adam <obnox@samba.org>2009-07-15 14:01:47 +0200
commit355892c296f7f245e5a5dd9070e3e776bedbf09c (patch)
treed0e903f7d518235c6c3af56ef0ba5385b9e7610e
parent3409a44da2ee6a0ca2caaf0455e0095f8e2f80a4 (diff)
downloadsamba-355892c296f7f245e5a5dd9070e3e776bedbf09c.tar.gz
samba-355892c296f7f245e5a5dd9070e3e776bedbf09c.tar.bz2
samba-355892c296f7f245e5a5dd9070e3e776bedbf09c.zip
s3:registry: panic upon failed transaction_cancel in regdb_create_subkey()
Michael
-rw-r--r--source3/registry/reg_backend_db.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index 6763558b0d..880c84a1be 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -961,8 +961,7 @@ static WERROR regdb_create_subkey(const char *key, const char *subkey)
cancel:
if (regdb->transaction_cancel(regdb) != 0) {
- werr = WERR_REG_IO_FAILURE;
- DEBUG(0, (__location__ " failed to cancel transaction\n"));
+ smb_panic("regdb_create_subkey: transaction_cancel failed\n");
}
done: