summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/defaults.c
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/defaults.c')
-rw-r--r--libglusterfs/src/defaults.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/libglusterfs/src/defaults.c b/libglusterfs/src/defaults.c
index b7174c8a939..2a4b20cebd8 100644
--- a/libglusterfs/src/defaults.c
+++ b/libglusterfs/src/defaults.c
@@ -22,6 +22,7 @@
#include "xlator.h"
#include "defaults.h"
+#include "libglusterfs-messages.h"
/* FAILURE_CBK function section */
@@ -2191,7 +2192,8 @@ default_ipc (call_frame_t *frame, xlator_t *this, int32_t op, dict_t *xdata)
int32_t
default_forget (xlator_t *this, inode_t *inode)
{
- gf_log_callingfn (this->name, GF_LOG_WARNING, "xlator does not "
+ gf_msg_callingfn (this->name, GF_LOG_WARNING, 0,
+ LG_MSG_XLATOR_DOES_NOT_IMPLEMENT, "xlator does not "
"implement forget_cbk");
return 0;
}
@@ -2200,7 +2202,8 @@ default_forget (xlator_t *this, inode_t *inode)
int32_t
default_releasedir (xlator_t *this, fd_t *fd)
{
- gf_log_callingfn (this->name, GF_LOG_WARNING, "xlator does not "
+ gf_msg_callingfn (this->name, GF_LOG_WARNING, 0,
+ LG_MSG_XLATOR_DOES_NOT_IMPLEMENT, "xlator does not "
"implement releasedir_cbk");
return 0;
}
@@ -2208,7 +2211,8 @@ default_releasedir (xlator_t *this, fd_t *fd)
int32_t
default_release (xlator_t *this, fd_t *fd)
{
- gf_log_callingfn (this->name, GF_LOG_WARNING, "xlator does not "
+ gf_msg_callingfn (this->name, GF_LOG_WARNING, 0,
+ LG_MSG_XLATOR_DOES_NOT_IMPLEMENT, "xlator does not "
"implement release_cbk");
return 0;
}