summaryrefslogtreecommitdiff
path: root/internal/fusefrontend/file_allocate_truncate.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-10-24 19:18:13 +0200
committerJakob Unterwurzacher2016-10-24 19:18:13 +0200
commitaeda9721d0150b9b77d9522bb3b4fcd17f2cbbfa (patch)
tree1cded9f7087c0d6d3d8d29fe9a1c5f0ceb3783bc /internal/fusefrontend/file_allocate_truncate.go
parentab4de4cbcd235bf1b3466a2a5bfa4d07f0537756 (diff)
Fix misspellings
Close https://github.com/rfjakob/gocryptfs/issues/54
Diffstat (limited to 'internal/fusefrontend/file_allocate_truncate.go')
-rw-r--r--internal/fusefrontend/file_allocate_truncate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/fusefrontend/file_allocate_truncate.go b/internal/fusefrontend/file_allocate_truncate.go
index 650e1db..bedbba3 100644
--- a/internal/fusefrontend/file_allocate_truncate.go
+++ b/internal/fusefrontend/file_allocate_truncate.go
@@ -175,7 +175,7 @@ func (f *file) statPlainSize() (uint64, error) {
}
// truncateGrowFile extends a file using seeking or ftruncate performing RMW on
-// the first and last block as neccessary. New blocks in the middle become
+// the first and last block as necessary. New blocks in the middle become
// file holes unless they have been fallocate()'d beforehand.
func (f *file) truncateGrowFile(oldPlainSz uint64, newPlainSz uint64) fuse.Status {
if newPlainSz <= oldPlainSz {