diff options
| author | Joseph Richey <joerichey94@gmail.com> | 2017-10-19 02:21:08 -0700 |
|---|---|---|
| committer | Joseph Richey <joerichey94@gmail.com> | 2017-10-19 02:22:29 -0700 |
| commit | 0d4d11af2883bac66ecc427cdde37aa995b93ca8 (patch) | |
| tree | be426d602b210d91a3e0121ad4757dad8fef44cd /security/cache.go | |
| parent | 18925df4483ccf5c48dfb4314f85c1b37a1cbe81 (diff) | |
Random changesext4
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 } |