UBIFS: increment commit number earlier
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 21 Jul 2008 14:14:29 +0000 (17:14 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 25 May 2009 14:08:50 +0000 (17:08 +0300)
commitde8edf3ff437e8d5d76616fcf3820add3a490c13
tree8613d937754639942d218354bae3eea5d612f20c
parent7226cb0396ce6aa25aac5c9c575b1aba412b65ea
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