diff options
Diffstat (limited to 'include/part.h')
-rw-r--r-- | include/part.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/part.h b/include/part.h index c129699bad..5678dab3f5 100644 --- a/include/part.h +++ b/include/part.h @@ -375,6 +375,14 @@ int is_valid_gpt_buf(struct blk_desc *dev_desc, void *buf); int write_mbr_and_gpt_partitions(struct blk_desc *dev_desc, void *buf); /** + * write_backup_gpt_partitions - write MBR, backup gpt table. + * @param dev_desc - block device descriptor + * @param buf - buffer which contains the MBR and Primary GPT info + * + * @return - '0' on success, otherwise error + */ +int write_backup_gpt_partitions(struct blk_desc *dev_desc, void *buf); +/** * gpt_verify_headers() - Function to read and CRC32 check of the GPT's header * and partition table entries (PTE) * |