aboutsummaryrefslogtreecommitdiff
path: root/security/cache.go
diff options
context:
space:
mode:
Diffstat (limited to 'security/cache.go')
-rw-r--r--security/cache.go4
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")