From f20301b41b620a4c5438b6f069365badae18606a Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 29 Jun 2010 16:50:42 -0700 Subject: [PATCH] Minor fix to ensure tv_depth is there when debugging is disabled. --- module/zfs/dmu_traverse.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/zfs/dmu_traverse.c b/module/zfs/dmu_traverse.c index 2cf10df828..2a9899f34d 100644 --- a/module/zfs/dmu_traverse.c +++ b/module/zfs/dmu_traverse.c @@ -77,9 +77,7 @@ struct traverse_visitbp_data { int tv_lasterr; int tv_i; int tv_epb; -#ifdef DEBUG int tv_depth; -#endif }; static inline int traverse_visitbp(struct traverse_data *td, const