Patchwork [1/2] UBIFS: kill CONFIG_UBIFS_FS_DEBUG_CHKS

login
register
mail settings
Submitter Artem Bityutskiy
Date March 21, 2011, 2:55 p.m.
Message ID <1300719307-31169-1-git-send-email-dedekind1@gmail.com>
Download mbox | patch
Permalink /patch/87787/
State Accepted
Commit 9d523cafbe0dab5a2b873ecd85c37fec9d1368f3
Headers show

Comments

Artem Bityutskiy - March 21, 2011, 2:55 p.m.
From: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

Simplify UBIFS configuration menu and kill the option to enable self-check
compile-time. We do not really need this because we can do this run-time
using the module parameters or the corresponding sysfs interfaces. And
there is a value in simplifying the kernel configuration menu which becomes
increasingly large.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
---
 fs/ubifs/Kconfig |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

Patch

diff --git a/fs/ubifs/Kconfig b/fs/ubifs/Kconfig
index 1d1859d..d744090 100644
--- a/fs/ubifs/Kconfig
+++ b/fs/ubifs/Kconfig
@@ -58,12 +58,3 @@  config UBIFS_FS_DEBUG
 	  down UBIFS. You can then further enable / disable individual  debugging
 	  features using UBIFS module parameters and the corresponding sysfs
 	  interfaces.
-
-config UBIFS_FS_DEBUG_CHKS
-	bool "Enable extra checks"
-	depends on UBIFS_FS_DEBUG
-	help
-	  If extra checks are enabled UBIFS will check the consistency of its
-	  internal data structures during operation. However, UBIFS performance
-	  is dramatically slower when this option is selected especially if the
-	  file system is large.