summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/client-callback.c
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-03-16 09:43:33 +0000
committerVijay Bellur <vijay@dev.gluster.com>2011-03-17 11:59:17 -0700
commit0f39192ef6bc7b1c74cfaeb04ed21305996d67e9 (patch)
treecc18ff8e20e15af3b2515b6cb9d1fcb2f1f3f664 /xlators/protocol/client/src/client-callback.c
parent0349ec857004428f29b50f3604e5ab126dfb407e (diff)
protocol/client: log enhancement
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 2346 (Log message enhancements in GlusterFS - phase 1) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2346
Diffstat (limited to 'xlators/protocol/client/src/client-callback.c')
-rw-r--r--xlators/protocol/client/src/client-callback.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/xlators/protocol/client/src/client-callback.c b/xlators/protocol/client/src/client-callback.c
index 947b43f50..bfc864112 100644
--- a/xlators/protocol/client/src/client-callback.c
+++ b/xlators/protocol/client/src/client-callback.c
@@ -28,19 +28,24 @@
int
client_cbk_null (void *data)
{
+ gf_log (THIS->name, GF_LOG_WARNING,
+ "this function should not be called");
return 0;
}
int
client_cbk_fetchspec (void *data)
{
- gf_log ("", 1, "here i am");
+ gf_log (THIS->name, GF_LOG_WARNING,
+ "this function should not be called");
return 0;
}
int
client_cbk_ino_flush (void *data)
{
+ gf_log (THIS->name, GF_LOG_WARNING,
+ "this function should not be called");
return 0;
}