@@ -285,6 +285,7 @@ static UserRecord* user_record_free(UserRecord *h) {
285285 free (h -> luks_cipher_mode );
286286 free (h -> luks_pbkdf_hash_algorithm );
287287 free (h -> luks_pbkdf_type );
288+ free (h -> luks_extra_mount_options );
288289
289290 free (h -> state );
290291 free (h -> service );
@@ -1287,6 +1288,7 @@ static int dispatch_per_machine(const char *name, JsonVariant *variant, JsonDisp
12871288 { "luksPbkdfTimeCostUSec" , JSON_VARIANT_UNSIGNED , json_dispatch_uint64 , offsetof(UserRecord , luks_pbkdf_time_cost_usec ), 0 },
12881289 { "luksPbkdfMemoryCost" , JSON_VARIANT_UNSIGNED , json_dispatch_uint64 , offsetof(UserRecord , luks_pbkdf_memory_cost ), 0 },
12891290 { "luksPbkdfParallelThreads" , JSON_VARIANT_UNSIGNED , json_dispatch_uint64 , offsetof(UserRecord , luks_pbkdf_parallel_threads ), 0 },
1291+ { "luksExtraMountOptions" , JSON_VARIANT_STRING , json_dispatch_string , offsetof(UserRecord , luks_extra_mount_options ), 0 },
12901292 { "dropCaches" , JSON_VARIANT_BOOLEAN , json_dispatch_tristate , offsetof(UserRecord , drop_caches ), 0 },
12911293 { "rateLimitIntervalUSec" , JSON_VARIANT_UNSIGNED , json_dispatch_uint64 , offsetof(UserRecord , ratelimit_interval_usec ), 0 },
12921294 { "rateLimitBurst" , JSON_VARIANT_UNSIGNED , json_dispatch_uint64 , offsetof(UserRecord , ratelimit_burst ), 0 },
@@ -1634,6 +1636,7 @@ int user_record_load(UserRecord *h, JsonVariant *v, UserRecordLoadFlags load_fla
16341636 { "luksPbkdfTimeCostUSec" , JSON_VARIANT_UNSIGNED , json_dispatch_uint64 , offsetof(UserRecord , luks_pbkdf_time_cost_usec ), 0 },
16351637 { "luksPbkdfMemoryCost" , JSON_VARIANT_UNSIGNED , json_dispatch_uint64 , offsetof(UserRecord , luks_pbkdf_memory_cost ), 0 },
16361638 { "luksPbkdfParallelThreads" , JSON_VARIANT_UNSIGNED , json_dispatch_uint64 , offsetof(UserRecord , luks_pbkdf_parallel_threads ), 0 },
1639+ { "luksExtraMountOptions" , JSON_VARIANT_STRING , json_dispatch_string , offsetof(UserRecord , luks_extra_mount_options ), 0 },
16371640 { "dropCaches" , JSON_VARIANT_BOOLEAN , json_dispatch_tristate , offsetof(UserRecord , drop_caches ), 0 },
16381641 { "service" , JSON_VARIANT_STRING , json_dispatch_string , offsetof(UserRecord , service ), JSON_SAFE },
16391642 { "rateLimitIntervalUSec" , JSON_VARIANT_UNSIGNED , json_dispatch_uint64 , offsetof(UserRecord , ratelimit_interval_usec ), 0 },
0 commit comments