diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-07-26 15:40:32 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-07-26 15:40:32 +0300 |
commit | 6624ef2ba2e9687929c53fe838910786270cd5c9 (patch) | |
tree | 28514674f90840ab2614c728b1d51699db2fdb8d /ubi-utils/old-utils/src/pfi.h | |
parent | 5cf9d3cf66dd32bd5a348e0e9805c5d7a3c34573 (diff) |
ubiformat: torture eraseblocks on write errors
When fail to write to PEBs, and the error is EIO, torture the
PEB before marking it as bad. Basically, the code is copied
from the kernel UBI.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/old-utils/src/pfi.h')
0 files changed, 0 insertions, 0 deletions