diff options
author | Sebastian Lackner | 2019-01-03 22:00:36 +0100 |
---|---|---|
committer | rfjakob | 2019-01-04 01:38:47 +0100 |
commit | acf7e52022fcf67a9db58bda59efc2e932e8892d (patch) | |
tree | 7d3c56be7978a2b2c82f43f265fee5554b712681 /init_dir.go | |
parent | ab169443fde9c6697b5b9dc010691cbc61cd5206 (diff) |
fusefrontend: Allow to create sparse file of size 4096.
When the old size is zero, there are no existing blocks to merge the
new data with. Directly use Ftruncate if the size is block-aligned.
Fixes https://github.com/rfjakob/gocryptfs/issues/305
Diffstat (limited to 'init_dir.go')
0 files changed, 0 insertions, 0 deletions