From 0d4d11af2883bac66ecc427cdde37aa995b93ca8 Mon Sep 17 00:00:00 2001 From: Joseph Richey Date: Thu, 19 Oct 2017 02:21:08 -0700 Subject: Random changes --- security/cache.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'security/cache.go') 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 } -- cgit v1.2.3