summaryrefslogtreecommitdiff
path: root/tools/include/uapi/linux
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2026-06-18 16:14:04 -0700
committerEric Biggers <ebiggers@kernel.org>2026-07-20 10:39:25 -0700
commitfa1517bc997ef89124d5cb63b2ced305b08784ad (patch)
treed50bf5456c349c43437d3ff0131ef98e3a094925 /tools/include/uapi/linux
parent7ad194058d99bd30b0b7bf14ee150cc9c22cc7e8 (diff)
downloadlinux-next-fa1517bc997ef89124d5cb63b2ced305b08784ad.tar.gz
linux-next-fa1517bc997ef89124d5cb63b2ced305b08784ad.zip
fscrypt: Remove FSCRYPT_MODE_MAX
Now that the arrays of per-mode keys in struct fscrypt_master_key have been replaced by a linked list, the definition of FSCRYPT_MODE_MAX doesn't do anything useful. (Previously it was used to size these arrays.) Remove it. Link: https://patch.msgid.link/20260618231404.132829-1-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'tools/include/uapi/linux')
-rw-r--r--tools/include/uapi/linux/fscrypt.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/include/uapi/linux/fscrypt.h b/tools/include/uapi/linux/fscrypt.h
index 3aff99f2696a..84507280b3ea 100644
--- a/tools/include/uapi/linux/fscrypt.h
+++ b/tools/include/uapi/linux/fscrypt.h
@@ -30,7 +30,6 @@
#define FSCRYPT_MODE_SM4_CTS 8
#define FSCRYPT_MODE_ADIANTUM 9
#define FSCRYPT_MODE_AES_256_HCTR2 10
-/* If adding a mode number > 10, update FSCRYPT_MODE_MAX in fscrypt_private.h */
/*
* Legacy policy version; ad-hoc KDF and no key verification.