UBIFS: double check that buds are replied in order
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 13 May 2011 13:02:19 +0000 (16:02 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 16 May 2011 07:31:40 +0000 (10:31 +0300)
commit7703f09ded1b8719d2defe0f61215b4a08702ffa
tree4783cecf73b55e4a402e227fd5ef43a669806c44
parente9ef7b5f25d31c5660fb4a87f4b40ac48070fcb7
UBIFS: double check that buds are replied in order

Commit 52c6e6f990669deac3f370f1603815adb55a1dbd provides misleading infomation
in the commit messages - buds are replied in order. And the real reason why
that fix helped is probably because it made sure we seek head even in read-only
mode (so deferred recovery will have seeked heads).

This patch adds an assertion which will fire if we reply buds out of order.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/replay.c