]> git.ipfire.org Git - thirdparty/systemd.git/commit
Revert "dissect-image: don't probe swap partitions needlessly"
authorLennart Poettering <lennart@poettering.net>
Mon, 27 Feb 2023 12:45:17 +0000 (13:45 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 27 Feb 2023 18:11:17 +0000 (19:11 +0100)
commit41aca66ba4f3a72ad709ef27e334392ef177450c
tree308a3a85cdb8fbb24297f64a4589dca58fa2cb41
parenta69a520bd42ceeb2a802dbf0c6a2a29d47829192
Revert "dissect-image: don't probe swap partitions needlessly"

This reverts commit df4524cb3796529b435af309f5e6a2d92bcdaaa0.

This commit is just wrong. The thing is that we *don't* know
automatically that the partition contains a swap image, because it could
be encrypted.

Hence revert.

Fixes: #26595
src/shared/dissect-image.c