commit | 8b054f56b17043bf3af782bc7b4b0602f0633ec2 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <philippe.reynes@softathome.com> | Fri Apr 22 17:46:48 2022 +0200 |
committer | Tom Rini <trini@konsulko.com> | Fri May 06 14:39:15 2022 -0400 |
tree | 5a3592ae81cf612b6a0ee984f4b07d09678b231d | |
parent | 45e1446515d35abd6f21e6d9cb4e3b6b7fcb7ae3 [diff] |
disk: part_efi: add support to repair gpt table If a gpt table is corrupted (after a power cut for example), then the gpt table should repaired. The function gpt_repair_headers check if at least one gpt table is valid, and then only write the corrupted gpt table. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>