1
0
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:
Zdenek Kabelac 2024-10-20 00:43:42 +02:00
parent 9d9c74797a
commit 949f7e6e8f

View File

@ -604,7 +604,7 @@ static int _has_gpt_partition_table(struct device *dev)
/* the gpt table is always written using LE on disk */
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;
nr_entries = le32_to_cpu(gpt_header.nr_part_entries);