summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2012-05-02 16:29:49 +0530
committerAnand Avati <avati@redhat.com>2012-05-03 15:58:48 -0700
commitd88237faa6982c9f0beca65262a220becaacb096 (patch)
treea1ab84a677eccad30d548f835033955477f6ece5 /libglusterfs/src
parent7509afb03da6fe9a0f07e902869f44d4ff545fa7 (diff)
cluster/pump: Fixed fd leaks in pump directory traversal logic
Change-Id: Ie54c8c9b19be6824445ada6bbcd4983e90a7c5c4 BUG: 818593 Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Reviewed-on: http://review.gluster.com/3267 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/defaults.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libglusterfs/src/defaults.c b/libglusterfs/src/defaults.c
index a3f506d9b..7e09a2c2b 100644
--- a/libglusterfs/src/defaults.c
+++ b/libglusterfs/src/defaults.c
@@ -1265,8 +1265,8 @@ default_fsetattr (call_frame_t *frame, xlator_t *this, fd_t *fd,
int32_t
default_forget (xlator_t *this, inode_t *inode)
{
- gf_log (this->name, GF_LOG_WARNING, "xlator does not implement "
- "forget_cbk");
+ gf_log_callingfn (this->name, GF_LOG_WARNING, "xlator does not "
+ "implement forget_cbk");
return 0;
}
@@ -1274,16 +1274,16 @@ default_forget (xlator_t *this, inode_t *inode)
int32_t
default_releasedir (xlator_t *this, fd_t *fd)
{
- gf_log (this->name, GF_LOG_WARNING, "xlator does not implement "
- "releasedir_cbk");
+ gf_log_callingfn (this->name, GF_LOG_WARNING, "xlator does not "
+ "implement releasedir_cbk");
return 0;
}
int32_t
default_release (xlator_t *this, fd_t *fd)
{
- gf_log (this->name, GF_LOG_WARNING, "xlator does not implement "
- "release_cbk");
+ gf_log_callingfn (this->name, GF_LOG_WARNING, "xlator does not "
+ "implement release_cbk");
return 0;
}