summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/ubifs.h
diff options
context:
space:
mode:
authorAdrian Hunter2008-07-18 16:56:37 +0200
committerArtem Bityutskiy2008-08-13 10:24:00 +0200
commit2fb42b11f61cbcef7dfc225c1d26c4511436583d (patch)
tree2eb3dd34c8e9a191bd8d9ed84b4605c8afc5c611 /fs/ubifs/ubifs.h
parentUBIFS: fix error return in failure mode (diff)
downloadkernel-qcow2-linux-2fb42b11f61cbcef7dfc225c1d26c4511436583d.tar.gz
kernel-qcow2-linux-2fb42b11f61cbcef7dfc225c1d26c4511436583d.tar.xz
kernel-qcow2-linux-2fb42b11f61cbcef7dfc225c1d26c4511436583d.zip
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 'fs/ubifs/ubifs.h')
0 files changed, 0 insertions, 0 deletions