diff options
author | Adrian Hunter <ext-adrian.hunter@nokia.com> | 2008-07-18 17:56:37 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-08-13 11:24:00 +0300 |
commit | 2fb42b11f61cbcef7dfc225c1d26c4511436583d (patch) | |
tree | 2eb3dd34c8e9a191bd8d9ed84b4605c8afc5c611 /lib/radix-tree.c | |
parent | 16dfd804b44ef7156d1c201f100bd0d9dc6b7c4b (diff) |
UBIFS: ensure UBIFS switches to read-only on error
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 <ext-adrian.hunter@nokia.com>
Diffstat (limited to 'lib/radix-tree.c')
0 files changed, 0 insertions, 0 deletions