]> git.ipfire.org Git - thirdparty/systemd.git/commit
homework: only do image locks for regular image files
authorLennart Poettering <lennart@poettering.net>
Thu, 14 Oct 2021 13:38:03 +0000 (15:38 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 15 Oct 2021 16:03:32 +0000 (18:03 +0200)
commit2aa94bb88a0bceaf60e3e024219384204174bb9f
tree10abe645d309bad4298361b3f694600f8533a7b9
parent6a1301d8c97dc650e4355bb7c193f5821b3383a8
homework: only do image locks for regular image files

If an image file is actually a block device taking a lock on it doesn't
really make sense for us: it will interfere with udev's block device
probing logic, and it's not going to propagated across the network
anyway (which is what we are after here). Hence simply don't do it.

Follow-up for 2aaf565a2da8eb0ea9adf84028c9d0ab7a90e53e
src/home/homework-luks.c