From: hujianyang Date: Wed, 30 Jul 2014 02:37:53 +0000 (+0800) Subject: UBIFS: Add log overlap assertions X-Git-Tag: omap-for-v3.17/fixes-against-rc2~86^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25601a3c9737fed554169759582c690b98ead5d4;p=pandora-kernel.git UBIFS: Add log overlap assertions We use a circle area to record the log nodes in ubifs. This log area should not be overlapped. But after researching the code, I found some conditions may lead log head wraps log ltail. Although we've fixed the problems discovered, there may be some other issues still left. This patch adds assertions where lhead changes to next leb to make sure ltail is not wrapped. Signed-off-by: hujianyang Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed