]> git.ipfire.org Git - thirdparty/util-linux.git/commit
losetup: sort 'O' correctly for the mutual-exclusive check to work
authorBenno Schulenberg <bensberg@telfort.nl>
Wed, 29 Oct 2025 11:03:56 +0000 (12:03 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 8 Dec 2025 13:37:30 +0000 (14:37 +0100)
commitcaef4f903ae042bcb22216df6d36ec9a9f04ace3
tree89bd17e6a03dbd385256e85b2d7887201d6dc772
parent130f96c94e02fdaea9d8b976ff65ad37b59bc4df
losetup: sort 'O' correctly for the mutual-exclusive check to work

The options need to be in strict ascending order.

[kzak@redhat.com: - backport to stable/v2.41]

Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/losetup.c