summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-07-28 19:14:21 +0300
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-07-28 19:15:19 +0300
commit6390e991776ec2519b4505d48dd82b0e88d359d2 (patch)
treea07e22c8e7987118235c21ae527abcfddbb2024f
parent49e236bc4a2639af0e77b3a05460e8367e3187a4 (diff)
Revert "UBIFS: add a log overlap assertion"
This reverts commit 545f7fdf6db866c26ac92346b35bc6489fb926d1. Hujianyang's testing revealed that the patch is bogus. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
-rw-r--r--fs/ubifs/misc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ubifs/misc.h b/fs/ubifs/misc.h
index 81bbf796eb2..ee7cb5ebb6e 100644
--- a/fs/ubifs/misc.h
+++ b/fs/ubifs/misc.h
@@ -297,7 +297,6 @@ static inline int ubifs_next_log_lnum(const struct ubifs_info *c, int lnum)
if (lnum > c->log_last)
lnum = UBIFS_LOG_LNUM;
- ubifs_assert(lnum != c->ltail_lnum);
return lnum;
}