summaryrefslogtreecommitdiffstats
path: root/xlators/debug/trace/src
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2010-02-25 15:37:53 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-03-04 03:12:37 -0800
commit390f4fd29830a902d6187bc95bfd8c5f5aad5935 (patch)
treea3fa8fbe7054499fd0bed269c17d0806785a79b7 /xlators/debug/trace/src
parent1582bc4e20d3f800c88d1c526cd32e92acf779dc (diff)
trace: Do not clobber own itable
.. as it could've been assigned by our parent such as server or nfs. 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
Diffstat (limited to 'xlators/debug/trace/src')
-rw-r--r--xlators/debug/trace/src/trace.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/xlators/debug/trace/src/trace.c b/xlators/debug/trace/src/trace.c
index 67ebeb13407..738cc489825 100644
--- a/xlators/debug/trace/src/trace.c
+++ b/xlators/debug/trace/src/trace.c
@@ -2090,9 +2090,6 @@ init (xlator_t *this)
if (gf_log_get_loglevel () < GF_LOG_NORMAL)
gf_log_set_loglevel (GF_LOG_NORMAL);
- /* Set this translator's inode table pointer to child node's pointer. */
- this->itable = FIRST_CHILD (this)->itable;
-
return 0;
}