diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2014-07-28 12:14:21 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2014-07-28 12:15:19 -0400 |
commit | 6390e991776ec2519b4505d48dd82b0e88d359d2 (patch) | |
tree | a07e22c8e7987118235c21ae527abcfddbb2024f /fs/ubifs | |
parent | 49e236bc4a2639af0e77b3a05460e8367e3187a4 (diff) |
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.h | 1 |
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) | |||
297 | if (lnum > c->log_last) | 297 | if (lnum > c->log_last) |
298 | lnum = UBIFS_LOG_LNUM; | 298 | lnum = UBIFS_LOG_LNUM; |
299 | 299 | ||
300 | ubifs_assert(lnum != c->ltail_lnum); | ||
301 | return lnum; | 300 | return lnum; |
302 | } | 301 | } |
303 | 302 | ||