aboutsummaryrefslogtreecommitdiff
path: root/security/cache.go
diff options
context:
space:
mode:
Diffstat (limited to 'security/cache.go')
-rw-r--r--security/cache.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/cache.go b/security/cache.go
index d0c60b1..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,9 +41,9 @@ 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 severly impact performance).
+ // entire pagecache (as this will severely impact performance).
_, err = file.WriteString("2")
return err
}