1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

debug: drop stack

This commit is contained in:
Zdenek Kabelac 2024-10-20 00:43:42 +02:00
parent c19dfe11a5
commit d121707ffa

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);