From 32c9be59a2485ef44ac4b3accc2f102cf2eb5a39 Mon Sep 17 00:00:00 2001 From: "Joe Richey joerichey@google.com" Date: Tue, 22 Aug 2017 12:52:41 -0700 Subject: security: Moved cache dropping function --- cmd/fscrypt/commands.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd') 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") -- cgit v1.2.3