diff options
author | 2013-09-28 15:55:12 +0200 | |
---|---|---|
committer | 2013-10-03 19:42:49 +0300 | |
commit | 4b3e0a25aa5518892ec8dbfafdd6a57789aa0c22 (patch) | |
tree | 0b6df0a177414b11d618a4aca390a192bca5f247 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | UBI: Fix error path in scan_pool() (diff) | |
download | linux-dev-4b3e0a25aa5518892ec8dbfafdd6a57789aa0c22.tar.xz linux-dev-4b3e0a25aa5518892ec8dbfafdd6a57789aa0c22.zip |
UBI: Call scan_all() with correct offset in error case
If we find an invalid fastmap we have to scan from the very beginning.
Otherwise we leak the first 64 PEBs.
Reported-and-tested-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions