From: Ben Gardiner Date: Mon, 30 May 2011 18:56:15 +0000 (-0400) Subject: UBIFS: intialize LPT earlier X-Git-Tag: v3.0-rc2~11^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=781c5717a95a74b294beb38b8276943b0f8b5bb4;p=pandora-kernel.git 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 Reviewed-by: Matthew L. Creech Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed