]> git.baikalelectronics.ru Git - kernel.git/commit
fscrypt: rename DCACHE_ENCRYPTED_NAME to DCACHE_NOKEY_NAME
authorEric Biggers <ebiggers@google.com>
Thu, 24 Sep 2020 04:26:24 +0000 (21:26 -0700)
committerEric Biggers <ebiggers@google.com>
Thu, 24 Sep 2020 04:29:49 +0000 (21:29 -0700)
commitc54c997e2c294cb28bc6d09a2052829013f71f35
tree02dd7b1b1aa3fa2cf1a3555b9acad39eddc4c764
parent75acbdde14ee860ba189addd2edc850e19918bc9
fscrypt: rename DCACHE_ENCRYPTED_NAME to DCACHE_NOKEY_NAME

Originally we used the term "encrypted name" or "ciphertext name" to
mean the encoded filename that is shown when an encrypted directory is
listed without its key.  But these terms are ambiguous since they also
mean the filename stored on-disk.  "Encrypted name" is especially
ambiguous since it could also be understood to mean "this filename is
encrypted on-disk", similar to "encrypted file".

So we've started calling these encoded names "no-key names" instead.

Therefore, rename DCACHE_ENCRYPTED_NAME to DCACHE_NOKEY_NAME to avoid
confusion about what this flag means.

Link: https://lore.kernel.org/r/20200924042624.98439-3-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
fs/crypto/fname.c
fs/crypto/hooks.c
include/linux/dcache.h
include/linux/fscrypt.h