aboutsummaryrefslogtreecommitdiff
path: root/cmd/fscrypt
diff options
context:
space:
mode:
authorJoe Richey joerichey@google.com <joerichey@google.com>2017-08-22 12:52:41 -0700
committerJoe Richey joerichey@google.com <joerichey@google.com>2017-08-22 12:53:26 -0700
commit32c9be59a2485ef44ac4b3accc2f102cf2eb5a39 (patch)
tree5f3067a604d06b13dcb006869225cca895a62842 /cmd/fscrypt
parent5c853fd7317d337ab7dc3b9bfe533a22eb713e1f (diff)
security: Moved cache dropping function
Diffstat (limited to 'cmd/fscrypt')
-rw-r--r--cmd/fscrypt/commands.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/fscrypt/commands.go b/cmd/fscrypt/commands.go
index e6c7f9a..3e8bc98 100644
--- a/cmd/fscrypt/commands.go
+++ b/cmd/fscrypt/commands.go
@@ -33,7 +33,7 @@ import (
"github.com/google/fscrypt/actions"
"github.com/google/fscrypt/filesystem"
"github.com/google/fscrypt/metadata"
- "github.com/google/fscrypt/util"
+ "github.com/google/fscrypt/security"
)
// Setup is a command which can to global or per-filesystem initialization.
@@ -371,7 +371,7 @@ func purgeAction(c *cli.Context) error {
fmt.Fprintf(c.App.Writer, "Policies purged for %q.\n", ctx.Mount.Path)
if dropCachesFlag.Value {
- if err = util.DropInodeCache(); err != nil {
+ if err = security.DropInodeCache(); err != nil {
return newExitError(c, err)
}
fmt.Fprintf(c.App.Writer, "Global inode cache cleared.\n")