summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2010-02-25 15:37:54 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-03-04 03:12:41 -0800
commit3f467f4464755989db4d22da04ae1cb895d2db11 (patch)
tree18cab30733d31444635911b76af14d518eb4da63
parent390f4fd29830a902d6187bc95bfd8c5f5aad5935 (diff)
trace: Print correct variable in lookup_cbk
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 473 (Trace misreporting pre/post attributes for setattr.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=473
-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 738cc4898..fb86fc680 100644
--- a/xlators/debug/trace/src/trace.c
+++ b/xlators/debug/trace/src/trace.c
@@ -581,7 +581,7 @@ trace_lookup_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
if (trace_fop_names[GF_FOP_LOOKUP].enabled) {
if (op_ret >= 0) {
statstr = trace_stat_to_str (buf);
- postparentstr = trace_stat_to_str (buf);
+ postparentstr = trace_stat_to_str (postparent);
gf_log (this->name, GF_LOG_NORMAL,
"%"PRId64": (op_ret=%d, ino=%"PRIu64", "