Revert "UBIFS: add a log overlap assertion"
This reverts commit 545f7fdf6d
.
Hujianyang's testing revealed that the patch is bogus.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
This commit is contained in:
Родитель
49e236bc4a
Коммит
6390e99177
|
@ -297,7 +297,6 @@ static inline int ubifs_next_log_lnum(const struct ubifs_info *c, int lnum)
|
||||||
if (lnum > c->log_last)
|
if (lnum > c->log_last)
|
||||||
lnum = UBIFS_LOG_LNUM;
|
lnum = UBIFS_LOG_LNUM;
|
||||||
|
|
||||||
ubifs_assert(lnum != c->ltail_lnum);
|
|
||||||
return lnum;
|
return lnum;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче