blk-crypto: rename keyslot-manager files to blk-crypto-profile
authorEric Biggers <ebiggers@google.com>
Mon, 18 Oct 2021 18:04:51 +0000 (11:04 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Oct 2021 16:49:32 +0000 (10:49 -0600)
In preparation for renaming struct blk_keyslot_manager to struct
blk_crypto_profile, rename the keyslot-manager.h and keyslot-manager.c
source files.  Renaming these files separately before making a lot of
changes to their contents makes it easier for git to understand that
they were renamed.

Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # For MMC
Reviewed-by: Christoph Hellwig <hch@lst.de>
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-3-ebiggers@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/Makefile
block/blk-crypto-fallback.c
block/blk-crypto-profile.c [moved from block/keyslot-manager.c with 99% similarity]
block/blk-crypto.c
drivers/md/dm-core.h
drivers/md/dm.c
drivers/mmc/host/cqhci-crypto.c
drivers/scsi/ufs/ufshcd.h
include/linux/blk-crypto-profile.h [moved from include/linux/keyslot-manager.h with 100% similarity]
include/linux/mmc/host.h

index 74df168729ecb944763181f3eeae9e43b0c1ed8d..602f7f47b7b6d99ebcb28ba4fcc8bdbf98ed92b5 100644 (file)
@@ -36,6 +36,6 @@ obj-$(CONFIG_BLK_DEBUG_FS)    += blk-mq-debugfs.o
 obj-$(CONFIG_BLK_DEBUG_FS_ZONED)+= blk-mq-debugfs-zoned.o
 obj-$(CONFIG_BLK_SED_OPAL)     += sed-opal.o
 obj-$(CONFIG_BLK_PM)           += blk-pm.o
-obj-$(CONFIG_BLK_INLINE_ENCRYPTION)    += keyslot-manager.o blk-crypto.o
+obj-$(CONFIG_BLK_INLINE_ENCRYPTION)    += blk-crypto.o blk-crypto-profile.o
 obj-$(CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK)   += blk-crypto-fallback.o
 obj-$(CONFIG_BLOCK_HOLDER_DEPRECATED)  += holder.o
index 1bcc1a1514248efe7c9e31f18cfca6833b7b29e1..08bfea292c754c98d9b2269e9f556961f6cc10da 100644 (file)
@@ -12,9 +12,9 @@
 #include <crypto/skcipher.h>
 #include <linux/blk-cgroup.h>
 #include <linux/blk-crypto.h>
+#include <linux/blk-crypto-profile.h>
 #include <linux/blkdev.h>
 #include <linux/crypto.h>
-#include <linux/keyslot-manager.h>
 #include <linux/mempool.h>
 #include <linux/module.h>
 #include <linux/random.h>
similarity index 99%
rename from block/keyslot-manager.c
rename to block/blk-crypto-profile.c
index 1792159d12d1813869d14ff8859f8f332ee19397..1a235fa3c3e822275d400e0138cb9883481f5a61 100644 (file)
@@ -28,7 +28,7 @@
 
 #define pr_fmt(fmt) "blk-crypto: " fmt
 
-#include <linux/keyslot-manager.h>
+#include <linux/blk-crypto-profile.h>
 #include <linux/device.h>
 #include <linux/atomic.h>
 #include <linux/mutex.h>
index 8f53f4a1f9e2d6a1b2e1616a12b9415e63936ef8..76ce7a5d2676b19dc6a2298625b020449102fb6e 100644 (file)
@@ -11,7 +11,7 @@
 
 #include <linux/bio.h>
 #include <linux/blkdev.h>
-#include <linux/keyslot-manager.h>
+#include <linux/blk-crypto-profile.h>
 #include <linux/module.h>
 #include <linux/slab.h>
 
index 55dccdfbcb22ee27e4098e6aeb5cbd07807c9614..841ed87999e793784df418b4503f3ef786f43202 100644 (file)
@@ -13,7 +13,7 @@
 #include <linux/ktime.h>
 #include <linux/genhd.h>
 #include <linux/blk-mq.h>
-#include <linux/keyslot-manager.h>
+#include <linux/blk-crypto-profile.h>
 
 #include <trace/events/block.h>
 
index 7870e6460633f85afcc28175c01e7ee2d48532c2..4184fd8ccb0849703c40512a6379d57d6e2296e9 100644 (file)
@@ -29,7 +29,7 @@
 #include <linux/refcount.h>
 #include <linux/part_stat.h>
 #include <linux/blk-crypto.h>
-#include <linux/keyslot-manager.h>
+#include <linux/blk-crypto-profile.h>
 
 #define DM_MSG_PREFIX "core"
 
index 6419cfbb4ab78b43eb5a710c99a4d422fb263dc9..628bbfaf831240b6e45077a6151f86d0a64bedb0 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #include <linux/blk-crypto.h>
-#include <linux/keyslot-manager.h>
+#include <linux/blk-crypto-profile.h>
 #include <linux/mmc/host.h>
 
 #include "cqhci-crypto.h"
index 41f6e06f91856469113e2e14f5e4639c935114df..885fcf2e592247662d15bd841fa099f11e508f67 100644 (file)
@@ -32,7 +32,7 @@
 #include <linux/regulator/consumer.h>
 #include <linux/bitfield.h>
 #include <linux/devfreq.h>
-#include <linux/keyslot-manager.h>
+#include <linux/blk-crypto-profile.h>
 #include "unipro.h"
 
 #include <asm/irq.h>
index 0c0c9a0fdf578e0860b6fce2e0e936d235512da5..725b1de417673fe583e24388c761053eae8737ff 100644 (file)
@@ -15,7 +15,7 @@
 #include <linux/mmc/card.h>
 #include <linux/mmc/pm.h>
 #include <linux/dma-direction.h>
-#include <linux/keyslot-manager.h>
+#include <linux/blk-crypto-profile.h>
 
 struct mmc_ios {
        unsigned int    clock;                  /* clock rate */