commit | 5c783b54d605aa21c8e3e0e188ab99d58135addd | [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 | 145921bdbdcfc24f18ce21d570ff86cc7e1fa3ba [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>