summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2012-02-21 11:25:07 +0530
committerVijay Bellur <vijay@gluster.com>2012-02-21 02:50:17 -0800
commit709de8c86a2947c98d59a5b32bcf258c196bab4b (patch)
tree7fe5a473827b20cde60114c7fcd93a41e2afd73b /libglusterfs
parente311a30f845255b44f3abc56215f584a3c245136 (diff)
libglusterfs: Warn on missing _cbk calls in xlator
Change-Id: I44684b5eeca3674ed8d5b7b0120699bb3767e38d BUG: 763820 Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Reviewed-on: http://review.gluster.com/2782 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/defaults.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libglusterfs/src/defaults.c b/libglusterfs/src/defaults.c
index c1382ae8f01..387e910175b 100644
--- a/libglusterfs/src/defaults.c
+++ b/libglusterfs/src/defaults.c
@@ -1198,6 +1198,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");
return 0;
}
@@ -1205,12 +1207,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");
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");
return 0;
}