Revert "UBIFS: add a log overlap assertion"
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 28 Jul 2014 16:14:21 +0000 (19:14 +0300)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 28 Jul 2014 16:15:19 +0000 (19:15 +0300)
This reverts commit 545f7fdf6db866c26ac92346b35bc6489fb926d1.

Hujianyang's testing revealed that the patch is bogus.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
fs/ubifs/misc.h

index 81bbf79..ee7cb5e 100644 (file)
@@ -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;
 }