mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
Merge pull request #29954 from DaanDeMeyer/fix
repart: Fix size round up/round down
This commit is contained in:
@@ -5,4 +5,4 @@ PathExists=!build/
|
||||
SystemdVersion=<254
|
||||
|
||||
[Host]
|
||||
ToolsTree=default
|
||||
@ToolsTree=default
|
||||
|
||||
@@ -1686,10 +1686,10 @@ static int partition_read_definition(Partition *p, const char *path, const char
|
||||
{ "Partition", "Priority", config_parse_int32, 0, &p->priority },
|
||||
{ "Partition", "Weight", config_parse_weight, 0, &p->weight },
|
||||
{ "Partition", "PaddingWeight", config_parse_weight, 0, &p->padding_weight },
|
||||
{ "Partition", "SizeMinBytes", config_parse_size4096, 1, &p->size_min },
|
||||
{ "Partition", "SizeMaxBytes", config_parse_size4096, -1, &p->size_max },
|
||||
{ "Partition", "PaddingMinBytes", config_parse_size4096, 1, &p->padding_min },
|
||||
{ "Partition", "PaddingMaxBytes", config_parse_size4096, -1, &p->padding_max },
|
||||
{ "Partition", "SizeMinBytes", config_parse_size4096, -1, &p->size_min },
|
||||
{ "Partition", "SizeMaxBytes", config_parse_size4096, 1, &p->size_max },
|
||||
{ "Partition", "PaddingMinBytes", config_parse_size4096, -1, &p->padding_min },
|
||||
{ "Partition", "PaddingMaxBytes", config_parse_size4096, 1, &p->padding_max },
|
||||
{ "Partition", "FactoryReset", config_parse_bool, 0, &p->factory_reset },
|
||||
{ "Partition", "CopyBlocks", config_parse_copy_blocks, 0, p },
|
||||
{ "Partition", "Format", config_parse_fstype, 0, &p->format },
|
||||
|
||||
Reference in New Issue
Block a user