UBIFS: restore budg_uncommitted_idx
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 30 Dec 2008 18:06:49 +0000 (20:06 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 31 Dec 2008 12:13:24 +0000 (14:13 +0200)
commit6edbfafda682b30ad984964cc432da6fa1c8fab5
treef25e8bf9a99a4a130df9654fd981fd443ff646dc
parent26d05777b0a23062a39e83c369c0a3583918f164
UBIFS: restore budg_uncommitted_idx

UBIFS stores uncommitted index size in c->budg_uncommitted_idx,
and this affect budgeting calculations. When mounting and
replaying, this variable is not updated, so we may end up
with "over-budgeting". This patch fixes the issue.

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