summaryrefslogtreecommitdiffstats
path: root/xlators/storage
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/storage')
-rw-r--r--xlators/storage/bdb/src/bctx.c2
-rw-r--r--xlators/storage/bdb/src/bdb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/xlators/storage/bdb/src/bctx.c b/xlators/storage/bdb/src/bctx.c
index d7d0932c9..e87b2e7a9 100644
--- a/xlators/storage/bdb/src/bctx.c
+++ b/xlators/storage/bdb/src/bctx.c
@@ -167,7 +167,7 @@ __bctx_activate (bctx_t *bctx)
static bctx_t *
__bdb_ctx_unref (bctx_t *bctx)
{
- assert (bctx->ref);
+ GF_ASSERT (bctx->ref);
--bctx->ref;
diff --git a/xlators/storage/bdb/src/bdb.c b/xlators/storage/bdb/src/bdb.c
index 8ef409a53..f8c5ee270 100644
--- a/xlators/storage/bdb/src/bdb.c
+++ b/xlators/storage/bdb/src/bdb.c
@@ -3230,7 +3230,7 @@ notify (xlator_t *this,
case GF_EVENT_PARENT_UP:
{
/* Tell the parent that bdb xlator is up */
- assert ((this->private != NULL) &&
+ GF_ASSERT ((this->private != NULL) &&
(BDB_ENV(this) != NULL));
default_notify (this, GF_EVENT_CHILD_UP, data);
}