blk-crypto-fallback: properly prefix function and struct names
authorEric Biggers <ebiggers@google.com>
Mon, 18 Oct 2021 18:04:50 +0000 (11:04 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Oct 2021 16:49:32 +0000 (10:49 -0600)
commiteebcafaebb17cb8fda671709fab5dd836bdc3a08
tree0fa0cc228f8916fc7297c5185603adedad21392d
parent435c2acb307f19acc791b4295e29cc53a82bd24d
blk-crypto-fallback: properly prefix function and struct names

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@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20211018180453.40441-2-ebiggers@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-crypto-fallback.c