diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-06-03 07:53:35 +0200 |
---|---|---|
committer | Artem Bityutskiy <dedekind1@gmail.com> | 2011-07-04 09:54:28 +0200 |
commit | 8d7819b4af697eec45339cc24db7c3fe45fea0e7 (patch) | |
tree | 2a32526fbf5a4cac8a3056352efcd6b69c4785b6 /fs/ubifs/lpt_commit.c | |
parent | UBIFS: introduce helper functions for debugging checks and tests (diff) | |
download | linux-8d7819b4af697eec45339cc24db7c3fe45fea0e7.tar.xz linux-8d7819b4af697eec45339cc24db7c3fe45fea0e7.zip |
UBIFS: lessen amount of debugging check types
We have too many different debugging checks - lessen the amount by merging all
index-related checks into one. At the same time, move the "force in-the-gap"
test to the "index checks" class, because it is too heavy for the "general"
class.
This patch merges TNC, Old index, and Index size check and calles this just
"index checks".
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/lpt_commit.c')
-rw-r--r-- | fs/ubifs/lpt_commit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ubifs/lpt_commit.c b/fs/ubifs/lpt_commit.c index f8e286ba8095..f13addf72e89 100644 --- a/fs/ubifs/lpt_commit.c +++ b/fs/ubifs/lpt_commit.c @@ -27,6 +27,7 @@ #include <linux/crc16.h> #include <linux/slab.h> +#include <linux/random.h> #include "ubifs.h" #ifdef CONFIG_UBIFS_FS_DEBUG |