Re: [PATCH 03/25] Unionfs: display informational messages only if debug is on

From: Erez Zadok
Date: Wed Sep 26 2007 - 11:28:59 EST


In message <Pine.LNX.4.64.0709261720330.7066@xxxxxxxxxxxxxxxxxxxxxxxxx>, Jan Engelhardt writes:
[...]
> Surprise, pr_debug() is just that all nicely wrapped up.
> Want debug? Do it like this.
>
> #ifdef CONFIG_UNIONFS_DEBUG
> # define DEBUG 1
> #endif
>
> and pr_debug() works magic.
[...]

Sounds good. I'll do that.

Thanks,
Erez.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/