]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5717d317c0f721f76c0947220073cd3ea0b52102
tree4783cecf73b55e4a402e227fd5ef43a669806c44
parent85cbcda89719b5ed3d9853ff53ceaa3cc0b61288
UBIFS: double check that buds are replied in order

Commit de4e72d7c0e195c859624982f8ccdc7c1b56a472 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