summaryrefslogtreecommitdiff
path: root/src/portable
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-09-06 05:37:13 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-09-07 20:45:24 +0900
commit369de26fdf7152e7f2ff790b65533d101772e073 (patch)
treea97cd3b4f54e90c280002a4a9ff16705eea31cb4 /src/portable
parente77cab824829f33e7870eb188ccd014acac49075 (diff)
downloadsystemd-369de26fdf7152e7f2ff790b65533d101772e073.tar.gz
dissect-image: use backing_file stored in LoopDevice object to generate image name
Follow-up for e374439f4b8def786031ddbbd7dfdae3a335d4d2 (#24322). This also simplify the logic of generating image name from image path.
Diffstat (limited to 'src/portable')
-rw-r--r--src/portable/portable.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/portable/portable.c b/src/portable/portable.c
index 9ac34ced6d..5d0a965db5 100644
--- a/src/portable/portable.c
+++ b/src/portable/portable.c
@@ -367,7 +367,6 @@ static int portable_extract_by_path(
r = dissect_loop_device(
d,
- path,
NULL, NULL,
DISSECT_IMAGE_READ_ONLY |
DISSECT_IMAGE_GENERIC_ROOT |