mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
debug: drop stack
This commit is contained in:
parent
9d9c74797a
commit
949f7e6e8f
@ -604,7 +604,7 @@ static int _has_gpt_partition_table(struct device *dev)
|
|||||||
/* the gpt table is always written using LE on disk */
|
/* the gpt table is always written using LE on disk */
|
||||||
|
|
||||||
if (le64_to_cpu(gpt_header.magic) != PART_GPT_MAGIC)
|
if (le64_to_cpu(gpt_header.magic) != PART_GPT_MAGIC)
|
||||||
return_0;
|
return 0;
|
||||||
|
|
||||||
entries_start = le64_to_cpu(gpt_header.part_entries_lba) * lbs;
|
entries_start = le64_to_cpu(gpt_header.part_entries_lba) * lbs;
|
||||||
nr_entries = le32_to_cpu(gpt_header.nr_part_entries);
|
nr_entries = le32_to_cpu(gpt_header.nr_part_entries);
|
||||||
|
Loading…
Reference in New Issue
Block a user