From: Ben Gardiner Date: Mon, 30 May 2011 18:56:14 +0000 (-0400) Subject: UBIFS: assert no fixup when writing a node X-Git-Tag: v3.0-rc2~11^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f1ab9b01d34eac9fc958f7150d3bf266dcc1685;p=pandora-kernel.git UBIFS: assert no fixup when writing a node The current free space fixup can result in some writing to the UBI volume when the space_fixup flag is set. To catch instances where UBIFS is writing to the NAND while the space_fixup flag is set, add an assert to ubifs_write_node(). Artem: tweaked the patch, added similar assertion to the write buffer write path. Signed-off-by: Ben Gardiner Reviewed-by: Matthew L. Creech Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed