summaryrefslogtreecommitdiff
path: root/src/sysext
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-09-06 10:58:26 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-09-07 20:45:24 +0900
commit64dd3a245f0964b8a15923da68b77e932a40536b (patch)
tree495c49d1d6526226ba28a8fe1507c31994623979 /src/sysext
parent55a065cd30f303578ce5f8a36bd859763c99ba51 (diff)
downloadsystemd-64dd3a245f0964b8a15923da68b77e932a40536b.tar.gz
dissect-image: use loop backing file or device node as name of the image
Note, currently, for each call of dissect_loop_device_and_warn(), the specified name is equivalent to the path passed to loop_device_make_by_path(). Hence, this should not change the current behavios.
Diffstat (limited to 'src/sysext')
-rw-r--r--src/sysext/sysext.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sysext/sysext.c b/src/sysext/sysext.c
index 93ddc73b46..e45fa61640 100644
--- a/src/sysext/sysext.c
+++ b/src/sysext/sysext.c
@@ -540,7 +540,6 @@ static int merge_subprocess(Hashmap *images, const char *workspace) {
return log_error_errno(r, "Failed to set up loopback device for %s: %m", img->path);
r = dissect_loop_device_and_warn(
- img->path,
d,
&verity_settings,
NULL,