summaryrefslogtreecommitdiff
path: root/cryptfs/config_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-12-06 15:05:52 +0100
committerJakob Unterwurzacher2015-12-06 15:05:52 +0100
commit56888d83dd50a10bad56eaa512ce0b6a2f2d41ed (patch)
tree51343937e7347dfa2d79813bbf9dee8f63168e0f /cryptfs/config_test.go
parentedc289fb7578036ecc7571cb0207ceac17af9eec (diff)
fallocate the space needed for the file header beforehand
This makes sure writing to a file fails early if the underlying filesystem does not support fallocate. It also prevents partial header write due to ENOSPC.
Diffstat (limited to 'cryptfs/config_test.go')
0 files changed, 0 insertions, 0 deletions