summaryrefslogtreecommitdiffstats
path: root/fs/ubifs
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-07-28 18:14:21 +0200
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-07-28 18:15:19 +0200
commit6390e991776ec2519b4505d48dd82b0e88d359d2 (patch)
treea07e22c8e7987118235c21ae527abcfddbb2024f /fs/ubifs
parentUBI: bugfix in ubi_wl_flush() (diff)
downloadlinux-6390e991776ec2519b4505d48dd82b0e88d359d2.tar.xz
linux-6390e991776ec2519b4505d48dd82b0e88d359d2.zip
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>
Diffstat (limited to 'fs/ubifs')
-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 81bbf796eb27..ee7cb5ebb6e8 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;
}