]> git.karo-electronics.de Git - linux-beck.git/commit
UBIFS: re-calculate min_idx_size after the commit
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 22 Dec 2008 09:09:04 +0000 (11:09 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 23 Dec 2008 10:24:05 +0000 (12:24 +0200)
commit650ed50f4298e76007070b7ab9d640dfe7228ab3
tree3756cfa59d1ed5aab403e67529b6b65a14a9cc70
parent4d61db4f87b527734ac0cc830dda8fcc4e2add2f
UBIFS: re-calculate min_idx_size after the commit

When we commit, but before we try to write anything to the flash
media, @c->min_idx_size is inaccurate, because we do not re-calculate
it after the commit. Do not forget to do this.

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