aboutsummaryrefslogtreecommitdiff
path: root/init_dir.go
diff options
context:
space:
mode:
authorSebastian Lackner2019-01-03 22:00:36 +0100
committerrfjakob2019-01-04 01:38:47 +0100
commitacf7e52022fcf67a9db58bda59efc2e932e8892d (patch)
tree7d3c56be7978a2b2c82f43f265fee5554b712681 /init_dir.go
parentab169443fde9c6697b5b9dc010691cbc61cd5206 (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