diff --git a/client/allocdir/fs_linux.go b/client/allocdir/fs_linux.go index 8d2ef694368..5ae1aebadef 100644 --- a/client/allocdir/fs_linux.go +++ b/client/allocdir/fs_linux.go @@ -73,7 +73,7 @@ func createSecretDir(dir string, size int) error { } flags := uintptr(syscall.MS_NOEXEC) - // Permanantly disable swap for tmpfs for SecretDir. + // Permanently disable swap for tmpfs for SecretDir. options := fmt.Sprintf("size=%dm,noswap", size) if err := syscall.Mount("tmpfs", dir, "tmpfs", flags, options); err != nil { return os.NewSyscallError("mount", err)