diff options
Diffstat (limited to 'security/cache.go')
| -rw-r--r-- | security/cache.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/security/cache.go b/security/cache.go index d0c60b1..2713ddd 100644 --- a/security/cache.go +++ b/security/cache.go @@ -1,3 +1,5 @@ +// +build linux + /* * cache.go - Handles cache clearing and management. * @@ -30,7 +32,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() @@ -43,7 +45,7 @@ func DropFilesystemCache() error { defer file.Close() // "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 severly impact performance). + // entire pagecache (as this will servery impact performance). _, err = file.WriteString("2") return err } |