debug_tweak_on() already tests for debug.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
unsigned int nr_threads;
int rshift;
unsigned int nr_threads;
int rshift;
- if (debug && debug_tweak_on("XFS_SCRUB_PHASE"))
+ if (debug_tweak_on("XFS_SCRUB_PHASE"))
debug_phase = atoi(getenv("XFS_SCRUB_PHASE"));
/* Run all phases of the scrub tool. */
debug_phase = atoi(getenv("XFS_SCRUB_PHASE"));
/* Run all phases of the scrub tool. */