aboutsummaryrefslogtreecommitdiff
path: root/cmd/fscrypt/errors.go
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2023-11-02 22:05:04 -0700
committerEric Biggers <ebiggers@google.com>2023-11-02 22:05:07 -0700
commit6c5fc571ba7b851e7b36b054fd428bf6ad779dcc (patch)
treef03075a28b7981ea141ce5db5cfe14b54e77bfe8 /cmd/fscrypt/errors.go
parent43869584b3c9f9acade09d2d35b20e69623d98f8 (diff)
README.md, errors.go: CephFS now supports fscrypt
Diffstat (limited to 'cmd/fscrypt/errors.go')
-rw-r--r--cmd/fscrypt/errors.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/fscrypt/errors.go b/cmd/fscrypt/errors.go
index 1e9c39a..1ccf544 100644
--- a/cmd/fscrypt/errors.go
+++ b/cmd/fscrypt/errors.go
@@ -230,6 +230,10 @@ func getErrorSuggestions(err error) string {
if !util.IsKernelVersionAtLeast(4, 10) {
return "ubifs encryption requires kernel v4.10 or later."
}
+ case "ceph":
+ if !util.IsKernelVersionAtLeast(6, 6) {
+ return "CephFS encryption requires kernel v6.6 or later."
+ }
}
return ""
case *filesystem.ErrNoCreatePermission: