From: Ben Gardiner Date: Mon, 30 May 2011 18:56:16 +0000 (-0400) Subject: UBIFS: fix-up free space earlier X-Git-Tag: v3.0-rc2~11^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=098011940a2549ae7182db4bf101c3e3d2b4e6df;p=pandora-kernel.git UBIFS: fix-up free space earlier The free space fixup is currently initiated during mount after the call to ubifs_write_master() which results in a write to PEBs; this has been observed with the patch 'assert no fixup when writing a node' applied: Move the free space fixup on mount to before the calls to ubifs_recover_inl_heads() and ubifs_write_master(). This results in no assertions with the previously mentioned patch applied. Artem: tweaked the patch a bit Signed-off-by: Ben Gardiner Reviewed-by: Matthew L. Creech Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed