From: Adrian Hunter Date: Fri, 18 Jul 2008 14:56:37 +0000 (+0300) Subject: UBIFS: ensure UBIFS switches to read-only on error writing the log X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b955b99c44b3e349f1e395ac94457dca8f6dcd58;p=pandora-kernel.git UBIFS: ensure UBIFS switches to read-only on error writing the log UBI transparently handles write errors by automatically copying and remapping the affected eraseblock. If UBI is unable to do that, for example its pool of eraseblocks reserved for bad block handling is empty, then the error is propagated to UBIFS. UBIFS must protect the media from falling into an inconsistent state by immediately switching to read-only mode. In the case of log updates, this was not being done. Signed-off-by: Adrian Hunter --- Reading git-diff-tree failed