summaryrefslogtreecommitdiffstats
path: root/src/shared/dissect-image.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-09-06 15:39:31 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-09-07 13:45:24 +0200
commitbec0c37c9eb8174ca92f98547169c082fd6d2854 (patch)
treecc966f43e9dc87e00f3dc14f03e52f365fed1046 /src/shared/dissect-image.h
parentdissect-image: drop currently unused code (diff)
downloadsystemd-bec0c37c9eb8174ca92f98547169c082fd6d2854.tar.xz
systemd-bec0c37c9eb8174ca92f98547169c082fd6d2854.zip
dissect-image: drop currently unused arguments
Diffstat (limited to 'src/shared/dissect-image.h')
-rw-r--r--src/shared/dissect-image.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/shared/dissect-image.h b/src/shared/dissect-image.h
index 39af311833..b9aa3ad63a 100644
--- a/src/shared/dissect-image.h
+++ b/src/shared/dissect-image.h
@@ -258,14 +258,11 @@ int dissect_image(
const char *image_path,
const VeritySettings *verity,
const MountOptions *mount_options,
- uint64_t diskseq,
- uint64_t uevent_seqnum_not_before,
- usec_t timestamp_not_before,
DissectImageFlags flags,
DissectedImage **ret);
static inline int dissect_loop_device(const LoopDevice *loop, const VeritySettings *verity, const MountOptions *mount_options, DissectImageFlags flags, DissectedImage **ret) {
assert(loop);
- return dissect_image(loop->fd, loop->backing_file ?: loop->node, verity, mount_options, loop->diskseq, loop->uevent_seqnum_not_before, loop->timestamp_not_before, flags, ret);
+ return dissect_image(loop->fd, loop->backing_file ?: loop->node, verity, mount_options, flags, ret);
}
int dissect_loop_device_and_warn(const LoopDevice *loop, const VeritySettings *verity, const MountOptions *mount_options, DissectImageFlags flags, DissectedImage **ret);