summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/legacy/client/src/saved-frames.c
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-08-25 01:18:38 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-25 00:41:44 -0700
commit89e6c3ee0a031eec5090fe2396678769e08fb01f (patch)
tree5fdbee8d4cea8eee3a0ae7294f48e4d2738ae6bd /xlators/protocol/legacy/client/src/saved-frames.c
parentedc92766239de2a3054df9e9ad2607a8955c6d0b (diff)
legacy/protocol/client: fix namespace collisions.
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1418 (Crash in saved_frames_put) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1418
Diffstat (limited to 'xlators/protocol/legacy/client/src/saved-frames.c')
-rw-r--r--xlators/protocol/legacy/client/src/saved-frames.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/xlators/protocol/legacy/client/src/saved-frames.c b/xlators/protocol/legacy/client/src/saved-frames.c
index 770de19ad72..de40dc22dec 100644
--- a/xlators/protocol/legacy/client/src/saved-frames.c
+++ b/xlators/protocol/legacy/client/src/saved-frames.c
@@ -27,7 +27,7 @@
struct saved_frames *
-saved_frames_new (void)
+gf_client_saved_frames_new (void)
{
struct saved_frames *saved_frames = NULL;
@@ -37,6 +37,7 @@ saved_frames_new (void)
return NULL;
}
+ gf_log ("", 1, "here");
INIT_LIST_HEAD (&saved_frames->fops.list);
INIT_LIST_HEAD (&saved_frames->mops.list);
INIT_LIST_HEAD (&saved_frames->cbks.list);
@@ -183,8 +184,9 @@ saved_frames_unwind (xlator_t *this, struct saved_frames *saved_frames,
void
-saved_frames_destroy (xlator_t *this, struct saved_frames *frames,
- gf_op_t gf_fops[], gf_op_t gf_mops[], gf_op_t gf_cbks[])
+gf_client_saved_frames_destroy (xlator_t *this, struct saved_frames *frames,
+ gf_op_t gf_fops[], gf_op_t gf_mops[],
+ gf_op_t gf_cbks[])
{
saved_frames_unwind (this, frames, &frames->fops, gf_fops, gf_fop_list);
saved_frames_unwind (this, frames, &frames->mops, gf_mops, gf_mop_list);