summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2010-05-25 04:20:45 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-05-27 02:00:45 -0700
commitf2ac33d36dc3c9e14129a65e7ebf4759120f11a1 (patch)
tree54b6620c2df18e0cf70657f964ee63f9258cbaff
parentc90bea236d66da360988df479239f21d0a3addc1 (diff)
stat information of postparent stored in preparentstr insteadof postparentstr in trace
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 945 (stat information of postparent stored in preparentstr instead of postparentstr in trace) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=945
-rw-r--r--xlators/debug/trace/src/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/debug/trace/src/trace.c b/xlators/debug/trace/src/trace.c
index 3daa730f009..31a1489b5d0 100644
--- a/xlators/debug/trace/src/trace.c
+++ b/xlators/debug/trace/src/trace.c
@@ -761,7 +761,7 @@ trace_link_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
if (op_ret >= 0) {
statstr = trace_stat_to_str (buf);
preparentstr = trace_stat_to_str (preparent);
- preparentstr = trace_stat_to_str (postparent);
+ postparentstr = trace_stat_to_str (postparent);
gf_log (this->name, GF_LOG_NORMAL,
"%"PRId64": (op_ret=%d, ino = %"PRIu64