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
This commit is contained in:
Shehjar Tikoo 2010-02-25 15:37:54 +00:00 committed by Anand V. Avati
parent 390f4fd298
commit 3f467f4464

View File

@ -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", "