diff options
author | Kyle Roeschley <[email protected]> | 2016-08-15 18:22:02 -0500 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2016-09-23 09:35:16 +0200 |
commit | 10ffd570f11701972aff2a6f91f3d253d6f0e7ee (patch) | |
tree | 2dfb9bdfd70f15c4167bbe359ead802b07e47252 /tools/perf/util/trace-event-scripting.c | |
parent | c3baf278d3bf8d628df0b28aa4921c5457d40211 (diff) |
mtd: nand_bbt: scan for next free bbt block if writing bbt fails
If erasing or writing the BBT fails, we should mark the current BBT
block as bad and use the BBT descriptor to scan for the next available
unused block in the BBT. We should only return a failure if there isn't
any space left.
Signed-off-by: Kyle Roeschley <[email protected]>
Suggested-by: Jeff Westfahl <[email protected]>
Tested-by: Kyle Roeschley <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions