]> git.ipfire.org Git - thirdparty/systemd.git/commit
cryptsetup-generator: use systemd-makefs for implementation of "swap" and "tmp" options 15836/head
authorLennart Poettering <lennart@poettering.net>
Mon, 18 May 2020 16:37:02 +0000 (18:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 18 May 2020 18:50:03 +0000 (20:50 +0200)
commitdb2c56b0dd28f271dd3fe53691b21484f72586e4
treebb6ea1675b351fc133e672e1ddbc58284e25fd69
parenta5a8fe2e8dbb9bc1981064d273b626d4aa187152
cryptsetup-generator: use systemd-makefs for implementation of "swap" and "tmp" options

This way we can take benefit of the correct block device locking we just
added.

I was thinking whether to instead pull in a regular
systemd-makefs@.service instance, but I couldn't come up with a reason
to, and thus opted for just doing the minimal patch and just replacing
the simply mkfs calls.

Fixes: #10179
Replaces: #13162
src/cryptsetup/cryptsetup-generator.c