UBIFS: add a log overlap assertion
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 16 Jul 2014 12:29:21 +0000 (15:29 +0300)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sat, 19 Jul 2014 06:55:19 +0000 (09:55 +0300)
commit545f7fdf6db866c26ac92346b35bc6489fb926d1
treef3445328ea40a14c6efb6db248247b6a8088e7f4
parentf1cb705accc70ac327de2108ecf07b300e03fc42
UBIFS: add a log overlap assertion

Add an assertion which checkes that the head of the log never overlaps with the
tail of the log.

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