diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2020-11-17 16:44:34 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-11-18 13:10:34 +0100 |
commit | 24e6fbf1dee7ff21913a4bef8ae0ae4ed2245fc8 (patch) | |
tree | 0be596f15b5aa130ce89236d7b684dac72954238 /src/json.h | |
parent | 727f31a88b9b4daf50a28997b51f9097605e92c9 (diff) |
#1008 Restore support for 4 disks and 16 partitions
ogServer expects to receive information of 1 disk and 4 partitions
from ogClient. Previous ogServer versions support several disks and
partitions.
Add ogServer support for 4 disks and 16 partitions.
Diffstat (limited to 'src/json.h')
-rw-r--r-- | src/json.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -30,7 +30,8 @@ struct og_partition { const char *used_size; }; -#define OG_PARTITION_MAX 4 +#define OG_DISK_MAX 4 +#define OG_PARTITION_MAX (4 * OG_DISK_MAX) int og_json_parse_partition(json_t *element, struct og_partition *part, uint64_t required_flags); |