summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/pump.c
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2010-10-12 03:06:30 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-10-12 02:39:01 -0700
commit9bad9d59f0f19fe20f90c6ed80e25c7db08b3371 (patch)
tree05dc2622a1ab6e00930f3846bd79cf560e8a939e /xlators/cluster/afr/src/pump.c
parentf637330995eab92a1d0b9f4ad9c43acfaad35037 (diff)
Change assert to GF_ASSERT
Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'xlators/cluster/afr/src/pump.c')
-rw-r--r--xlators/cluster/afr/src/pump.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/xlators/cluster/afr/src/pump.c b/xlators/cluster/afr/src/pump.c
index 3bb9b851d30..a162d3fa164 100644
--- a/xlators/cluster/afr/src/pump.c
+++ b/xlators/cluster/afr/src/pump.c
@@ -135,7 +135,7 @@ pump_set_resume_path (xlator_t *this, const char *path)
priv = this->private;
pump_priv = priv->pump_private;
- assert (pump_priv);
+ GF_ASSERT (pump_priv);
LOCK (&pump_priv->resume_path_lock);
{
@@ -231,7 +231,7 @@ pump_save_path (xlator_t *this, const char *path)
priv = this->private;
pump_priv = priv->pump_private;
- assert (priv->root_inode);
+ GF_ASSERT (priv->root_inode);
build_root_loc (priv->root_inode, &loc);
@@ -424,7 +424,7 @@ gf_pump_traverse_directory (loc_t *loc)
this = THIS;
priv = this->private;
- assert (loc->inode);
+ GF_ASSERT (loc->inode);
fd = fd_create (loc->inode, PUMP_PID);
if (!fd) {
@@ -587,7 +587,7 @@ pump_complete_migration (xlator_t *this)
priv = this->private;
pump_priv = priv->pump_private;
- assert (priv->root_inode);
+ GF_ASSERT (priv->root_inode);
build_root_loc (priv->root_inode, &loc);
@@ -683,7 +683,7 @@ pump_task (void *data)
this = THIS;
priv = this->private;
- assert (priv->root_inode);
+ GF_ASSERT (priv->root_inode);
build_root_loc (priv->root_inode, &loc);
xattr_req = dict_new ();