diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-09-02 19:09:51 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-09-03 01:32:01 +0900 |
commit | bad31660eda404b034d20ea0d4b22ca45009f183 (patch) | |
tree | 63902b397a92a24e9404543e352b176efdfba7b1 /src/portable | |
parent | 062d511776943c26f6952ccfabc4e9f9f8e5a58d (diff) | |
download | systemd-bad31660eda404b034d20ea0d4b22ca45009f183.tar.gz |
dissect-image: introduce dissect_loop_device() which takes LoopDevice object
Diffstat (limited to 'src/portable')
-rw-r--r-- | src/portable/portable.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/portable/portable.c b/src/portable/portable.c index 0f6c71042e..5d0a965db5 100644 --- a/src/portable/portable.c +++ b/src/portable/portable.c @@ -365,12 +365,9 @@ static int portable_extract_by_path( if (r < 0) return log_debug_errno(r, "Failed to create temporary directory: %m"); - r = dissect_image( - d->fd, + r = dissect_loop_device( + d, NULL, NULL, - d->diskseq, - d->uevent_seqnum_not_before, - d->timestamp_not_before, DISSECT_IMAGE_READ_ONLY | DISSECT_IMAGE_GENERIC_ROOT | DISSECT_IMAGE_REQUIRE_ROOT | |