From: Pete Zaitcev <zaitcev@redhat.com>
To: Jeff Garzik <jeff@garzik.org>
Cc: Project Hail List <hail-devel@vger.kernel.org>
Subject: [Patch 1/7] tabled: Fix error path in bucket_del
Date: Fri, 13 Nov 2009 23:30:46 -0700 [thread overview]
Message-ID: <20091113233046.72271a16@redhat.com> (raw)
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
---
server/bucket.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/server/bucket.c b/server/bucket.c
index c13ec05..b3c73de 100644
--- a/server/bucket.c
+++ b/server/bucket.c
@@ -591,7 +591,7 @@ bool bucket_del(struct client *cli, const char *user, const char *bucket)
rc = dbenv->txn_begin(dbenv, NULL, &txn, 0);
if (rc) {
dbenv->err(dbenv, rc, "DB_ENV->txn_begin");
- goto err_out;
+ goto err_none;
}
/* search for (bucket, *) in object database, to see if
@@ -714,6 +714,7 @@ err_out:
rc = txn->abort(txn);
if (rc)
dbenv->err(dbenv, rc, "DB_ENV->txn_abort");
+err_none:
return cli_err(cli, err);
}
next reply other threads:[~2009-11-14 6:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-14 6:30 Pete Zaitcev [this message]
2009-11-14 8:28 ` [Patch 1/7] tabled: Fix error path in bucket_del Jeff Garzik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091113233046.72271a16@redhat.com \
--to=zaitcev@redhat.com \
--cc=hail-devel@vger.kernel.org \
--cc=jeff@garzik.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.