]> git.baikalelectronics.ru Git - kernel.git/commit
UBIFS: intialize LPT earlier
authorBen Gardiner <bengardiner@nanometrics.ca>
Mon, 30 May 2011 18:56:15 +0000 (14:56 -0400)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 3 Jun 2011 15:12:31 +0000 (18:12 +0300)
commit3905ea00d7c7e85f5a5f1421d45858645495276e
treeed8dfe3b7066e6d0854e381f46712c7280b2f05e
parent2cd7f6757ed6e3b0371b42f5da811bd2edbc7ebf
UBIFS: intialize LPT earlier

The current 'mount_ubifs()' implementation does not initialize the LPT until the
the master node is marked dirty. Move the LPT initialization to before marking
the master node dirty. This is a preparation for the next patch which will move
the free-space-fixup check to before marking the master node dirty, because we
have to fix-up the free space before doing any writes.

Artem: massaged the patch and commit message.

Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
Reviewed-by: Matthew L. Creech <mlcreech@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/super.c