[dm-devel] [PATCH 1/5] blk-crypto-fallback: properly prefix function and struct names
Christoph Hellwig
hch at infradead.org
Wed Sep 15 07:36:43 UTC 2021
On Sun, Sep 12, 2021 at 06:31:31PM -0700, Eric Biggers wrote:
> From: Eric Biggers <ebiggers at google.com>
>
> For clarity, avoid using just the "blk_crypto_" prefix for functions and
> structs that are specific to blk-crypto-fallback. Instead, use
> "blk_crypto_fallback_". Some places already did this, but others
> didn't.
>
> This is also a prerequisite for using "struct blk_crypto_keyslot" to
> mean a generic blk-crypto keyslot (which is what it sounds like).
> Rename the fallback one to "struct blk_crypto_fallback_keyslot".
>
> Signed-off-by: Eric Biggers <ebiggers at google.com>
These names are pretty long, but given that there aren't all the many
of them:
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the dm-devel
mailing list