diff options
| author | ebiggers <ebiggers@google.com> | 2019-09-08 19:46:59 -0700 |
|---|---|---|
| committer | Joseph Richey <joerichey@google.com> | 2019-09-08 19:46:59 -0700 |
| commit | 6445dad7d66fa6a1867090fcd9602c98863649f6 (patch) | |
| tree | c0e5209f018a50ee8b0a1277cc7b06266eff18c1 /security/cache.go | |
| parent | 28b29d1c97ffd97671186b5e1fae37b64424f9ee (diff) | |
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().
Diffstat (limited to 'security/cache.go')
| -rw-r--r-- | security/cache.go | 4 |
1 files changed, 2 insertions, 2 deletions
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") |