Skip to contentSkip to conversation

staging/lustre: fix Kconfig bool defaults

PATCH In review Peng Tao 3 participants 3 messages Jul 22, 2013 – Jul 23, 2013 Staging

lore
Share & tools
lore

Peng Tao

author
#0 lore raw

PATCH 1/1 staging/lustre: fix Kconfig bool defaults

Should be y/n instead of true/false...

---
This applis on top of the 48 Intel tree ported patches.

 drivers/staging/lustre/lustre/Kconfig |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/lustre/lustre/Kconfig +3 -3
index 566d89d..d80a78f 100644
@@ -50,7 +50,7 @@ config LUSTRE_OBD_MAX_IOCTL_BUFFER
 config LUSTRE_DEBUG_LU_REF_CHECK
 	bool "Enable Lustre DEBUG object refcount checks"
 	depends on LUSTRE_FS
-	default false
+	default n
 	help
 	  This option is mainly for debug purpose. It enables Lustre code to track
 	  references between objects.
@@ -60,7 +60,7 @@ config LUSTRE_DEBUG_LU_REF_CHECK
 config LUSTRE_DEBUG_EXPENSIVE_CHECK
 	bool "Enable Lustre DEBUG checks"
 	depends on LUSTRE_FS
-	default false
+	default n
 	help
 	  This option is mainly for debug purpose. It enables Lustre code to do
 	  expensive checks that may have a performance impact.
@@ -70,4 +70,4 @@ config LUSTRE_DEBUG_EXPENSIVE_CHECK
 config LUSTRE_TRANSLATE_ERRNOS
 	bool
 	depends on LUSTRE_FS && !X86
-	default true
+	default y
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 5 lines · Peng Tao

Should be y/n instead of true/false...

default n is the default.
So usually we advice to drop this.

Sam

Quoted 43 lines

---
This applis on top of the 48 Intel tree ported patches.

 drivers/staging/lustre/lustre/Kconfig |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/lustre/lustre/Kconfig +3 -3
index 566d89d..d80a78f 100644
@@ -50,7 +50,7 @@ config LUSTRE_OBD_MAX_IOCTL_BUFFER
 config LUSTRE_DEBUG_LU_REF_CHECK
 	bool "Enable Lustre DEBUG object refcount checks"
 	depends on LUSTRE_FS
-	default false
+	default n
 	help
 	  This option is mainly for debug purpose. It enables Lustre code to track
 	  references between objects.
@@ -60,7 +60,7 @@ config LUSTRE_DEBUG_LU_REF_CHECK
 config LUSTRE_DEBUG_EXPENSIVE_CHECK
 	bool "Enable Lustre DEBUG checks"
 	depends on LUSTRE_FS
-	default false
+	default n
 	help
 	  This option is mainly for debug purpose. It enables Lustre code to do
 	  expensive checks that may have a performance impact.
@@ -70,4 +70,4 @@ config LUSTRE_DEBUG_EXPENSIVE_CHECK
 config LUSTRE_TRANSLATE_ERRNOS
 	bool
 	depends on LUSTRE_FS && !X86
-	default true
+	default y
Signature · 7 lines
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/