From aeda9721d0150b9b77d9522bb3b4fcd17f2cbbfa Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 24 Oct 2016 19:18:13 +0200 Subject: Fix misspellings Close https://github.com/rfjakob/gocryptfs/issues/54 --- internal/fusefrontend/file.go | 2 +- internal/fusefrontend/file_allocate_truncate.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/fusefrontend') diff --git a/internal/fusefrontend/file.go b/internal/fusefrontend/file.go index e021962..35c898d 100644 --- a/internal/fusefrontend/file.go +++ b/internal/fusefrontend/file.go @@ -212,7 +212,7 @@ func (f *file) Read(buf []byte, off int64) (resultData fuse.ReadResult, code fus // doWrite - encrypt "data" and write it to plaintext offset "off" // // Arguments do not have to be block-aligned, read-modify-write is -// performed internally as neccessary +// performed internally as necessary // // Called by Write() for normal writing, // and by Truncate() to rewrite the last file block. 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 { -- cgit v1.2.3