commit | 6fa6f5bbc3a2ad833a3d4b798140602004f70f5a | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Fri Dec 05 13:37:02 2008 +0200 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Fri Dec 05 13:46:50 2008 +0200 |
tree | 96aa4b8b9f672c098f12db1d359d8e942c8a80aa | |
parent | 3c98b0a043f25fa44b289c2f35b9d6ad1d859ac9 [diff] |
UBI: handle write errors in WL worker When a PEB is moved and a write error happens, UBI switches to R/O mode, which is wrong, because we just copy the data and may select a different PEB and re-try this. This patch fixes WL worker's behavior. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>