dissect-image: move extension release arguments of verity_dissect_and_mount() into a structure

This commit is contained in:
Lennart Poettering
2025-04-03 11:08:57 +02:00
parent a05b344330
commit bcd904d471
4 changed files with 48 additions and 44 deletions
+2 -10
View File
@@ -970,11 +970,7 @@ static int mount_in_namespace_legacy(
options,
image_policy,
/* image_filter= */ NULL,
/* required_host_os_release_id= */ NULL,
/* required_host_os_release_version_id= */ NULL,
/* required_host_os_release_sysext_level= */ NULL,
/* required_host_os_release_confext_level= */ NULL,
/* required_sysext_scope= */ NULL,
/* extension_release_data= */ NULL,
/* verity= */ NULL,
/* ret_image= */ NULL);
else
@@ -1195,11 +1191,7 @@ static int mount_in_namespace(
options,
image_policy,
/* image_filter= */ NULL,
/* required_host_os_release_id= */ NULL,
/* required_host_os_release_version_id= */ NULL,
/* required_host_os_release_sysext_level= */ NULL,
/* required_host_os_release_confext_level= */ NULL,
/* required_sysext_scope= */ NULL,
/* extension_release_data= */ NULL,
/* verity= */ NULL,
&img);
if (r < 0)