From 6445dad7d66fa6a1867090fcd9602c98863649f6 Mon Sep 17 00:00:00 2001 From: ebiggers Date: Sun, 8 Sep 2019 19:46:59 -0700 Subject: Fix various typos and grammatical errors (#141) These were found by a combination of manual review and a custom script that checks for common errors. Also removed an outdated sentence from the comment for setupBefore(). --- security/cache.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'security/cache.go') diff --git a/security/cache.go b/security/cache.go index fd22e15..f11248d 100644 --- a/security/cache.go +++ b/security/cache.go @@ -30,7 +30,7 @@ import ( // dentries. This has the effect of making encrypted directories whose keys are // not present no longer accessible. Requires root privileges. func DropFilesystemCache() error { - // Dirty reclaimible inodes must be synced so that they will be freed. + // Dirty reclaimable inodes must be synced so that they will be freed. log.Print("syncing changes to filesystem") unix.Sync() @@ -41,7 +41,7 @@ func DropFilesystemCache() error { return err } defer file.Close() - // "2" just frees the reclaimable inodes and dentries, the associated + // "2" just frees the reclaimable inodes and dentries. The associated // pages to these inodes will be freed. We do not need to free the // entire pagecache (as this will severely impact performance). _, err = file.WriteString("2") -- cgit v1.2.3