diff options
author | 2016-09-16 16:59:15 +0200 | |
---|---|---|
committer | 2016-10-02 22:48:14 +0200 | |
commit | f9efe8d8a5d54e426da9029f5db78e90ac7a141a (patch) | |
tree | f19c00a332254c7d63cad5294b0581fe0b881e89 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | UBI: factorize code used to manipulate volumes at attach time (diff) | |
download | wireguard-linux-f9efe8d8a5d54e426da9029f5db78e90ac7a141a.tar.xz wireguard-linux-f9efe8d8a5d54e426da9029f5db78e90ac7a141a.zip |
UBI: factorize destroy_av() and ubi_remove_av() code
Those functions are pretty much doing the same thing, except
ubi_remove_av() is putting the aeb elements attached to the volume into
the ai->erase list and the destroy_av() is freeing them.
Rework destroy_av() to handle both cases.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions