]> git.ipfire.org Git - thirdparty/systemd.git/commit
homed: fall back to ftruncate() if fallocate() is not supported on backing fs 15297/head
authorLennart Poettering <lennart@poettering.net>
Wed, 1 Apr 2020 16:06:25 +0000 (18:06 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 1 Apr 2020 16:19:07 +0000 (18:19 +0200)
commite46f877c5c9a82c36f1bd6ba6b801f3853bf60c0
tree426398dbb78253ab17075503a4d3ff79cbf9b025
parent6829d8ce6927c151e4391c6a5e69b76906fbd2be
homed: fall back to ftruncate() if fallocate() is not supported on backing fs

This means "discard" mode is enabled implicitly on such simpler backing
fs.

Fixes: #15059
src/home/homework-luks.c