dissect-image: use backing_file stored in LoopDevice object to generate image name
Follow-up for e374439f4b (#24322).
This also simplify the logic of generating image name from image path.
This commit is contained in:
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user