From: Artem Bityutskiy Date: Mon, 28 Jul 2014 16:14:21 +0000 (+0300) Subject: Revert "UBIFS: add a log overlap assertion" X-Git-Tag: firefly_0821_release~176^2~3411^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6390e991776ec2519b4505d48dd82b0e88d359d2;p=firefly-linux-kernel-4.4.55.git 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 --- 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; }