diff options
| author | Joe Richey joerichey@google.com <joerichey@google.com> | 2018-08-30 03:54:52 -0700 |
|---|---|---|
| committer | Joe Richey joerichey@google.com <joerichey@google.com> | 2018-08-30 03:54:52 -0700 |
| commit | 3c4664d603fb288b70938a00b05437ce8b2d0e64 (patch) | |
| tree | 9acbd51b5315dfdcb549093f0752dc463ba1246a /metadata | |
| parent | 36b185e408a56d93678f52a59e1d68ece8bf0508 (diff) | |
Go 1.11 gofmt updatae
Diffstat (limited to 'metadata')
| -rw-r--r-- | metadata/policy.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/metadata/policy.go b/metadata/policy.go index ce40f9c..d83aa9d 100644 --- a/metadata/policy.go +++ b/metadata/policy.go @@ -138,7 +138,7 @@ func SetPolicy(path string, data *PolicyData) error { Version: 0, // Version must always be zero Contents_encryption_mode: uint8(data.Options.Contents), Filenames_encryption_mode: uint8(data.Options.Filenames), - Flags: uint8(paddingFlag), + Flags: uint8(paddingFlag), } copy(policy.Master_key_descriptor[:], descriptorBytes) @@ -176,7 +176,7 @@ func CheckSupport(path string) error { Version: math.MaxUint8, Contents_encryption_mode: math.MaxUint8, Filenames_encryption_mode: math.MaxUint8, - Flags: math.MaxUint8, + Flags: math.MaxUint8, } err = policyIoctl(file, unix.FS_IOC_SET_ENCRYPTION_POLICY, &badPolicy) |