Hi all, the newly added blk-crypto sysfs support does not seem to keep the blk_crypto_profile lifetimes aligned to what sysfs expects. This was found by code inspection only and is completely untested. Diffstat: b/Documentation/block/inline-encryption.rst | 10 - b/block/Makefile | 3 b/block/blk-crypto-fallback.c | 20 +- b/block/blk-crypto-profile.c | 263 ++++++++++++++++++++++------ b/drivers/md/dm-table.c | 28 -- b/drivers/mmc/core/crypto.c | 4 b/drivers/mmc/host/cqhci-crypto.c | 16 - b/drivers/scsi/ufs/ufshcd-crypto.c | 31 +-- b/drivers/scsi/ufs/ufshcd.h | 2 b/include/linux/blk-crypto-profile.h | 19 +- b/include/linux/blkdev.h | 1 b/include/linux/mmc/host.h | 2 block/blk-crypto-sysfs.c | 172 ------------------ 13 files changed, 265 insertions(+), 306 deletions(-)