[PATCH] sunrpc: set CONFIG_SUNRPC_DEBUG=y in config.debug

Jeff Layton jlayton at redhat.com
Fri May 11 12:40:32 UTC 2012


This is quite handy for debugging but was recently made optional in
mainline kernels since it shrinks the size of the rpc/nfs modules
substantially if you turn it off.

This patch turns it on in debug kernels. Should we also consider
reenabling this in non-debug kernels?

Signed-off-by: Jeff Layton <jlayton at redhat.com>
---
 config-debug |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/config-debug b/config-debug
index 03964c6..955c0c7 100644
--- a/config-debug
+++ b/config-debug
@@ -109,3 +109,4 @@ CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=1024
 # CONFIG_DEBUG_KMEMLEAK_TEST is not set
 CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y
 
+CONFIG_SUNRPC_DEBUG=y
-- 
1.7.7.6



More information about the kernel mailing list