From 6390e991776ec2519b4505d48dd82b0e88d359d2 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Mon, 28 Jul 2014 19:14:21 +0300 Subject: [PATCH] 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 --- fs/ubifs/misc.h | 1 - 1 file changed, 1 deletion(-) 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; } -- 2.39.5