[dm-devel] [PATCH v4 1/4] blk-crypto-fallback: properly prefix function and struct names

Mike Snitzer snitzer at redhat.com
Wed Oct 6 13:24:35 UTC 2021


On Wed, Sep 29 2021 at 12:35P -0400,
Eric Biggers <ebiggers at kernel.org> 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".
> 
> No change in behavior.
> 
> Reviewed-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>
> Signed-off-by: Eric Biggers <ebiggers at google.com>

Reviewed-by: Mike Snitzer <snitzer at redhat.com>




More information about the dm-devel mailing list