]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/dissect-image.c
dissect-image: also store the image size in DissectedImage
authorLennart Poettering <lennart@poettering.net>
Mon, 4 Dec 2023 17:04:44 +0000 (18:04 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 13 Dec 2023 16:35:22 +0000 (17:35 +0100)
commit51778dea0dd84f0564f77cce4a69983da12a9ce5
tree5f850cf13e46eba243de57b62efb3a0268b95272
parent6bc201343fea0d01b96eac37c46dd12b2a3dfab4
dissect-image: also store the image size in DissectedImage

That way we can easily access it the same way regardless if we operate
on a block device or on a regular file.
src/shared/dissect-image.c
src/shared/dissect-image.h