From 3f467f4464755989db4d22da04ae1cb895d2db11 Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Thu, 25 Feb 2010 15:37:54 +0000 Subject: trace: Print correct variable in lookup_cbk Signed-off-by: Shehjar Tikoo Signed-off-by: Anand V. Avati BUG: 473 (Trace misreporting pre/post attributes for setattr.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=473 --- xlators/debug/trace/src/trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/debug') 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", " -- cgit