UBIFS: increment commit number earlier
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 21 Jul 2008 14:14:29 +0000 (17:14 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 13 Aug 2008 08:27:47 +0000 (11:27 +0300)
commit014eb04b03202dc75c1c749df4246d98045f5e69
tree99edd8f2907b478616bba8d44a308b6b750ead99
parentfd6c6b51e3677937090314b20b00f2194900d81b
UBIFS: increment commit number earlier

Increment the commit number at the beginnig of the commit, instead
of doing this after the commit. This is needed for further
optimizations.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/commit.c
fs/ubifs/log.c
fs/ubifs/orphan.c
fs/ubifs/ubifs.h