All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-devel] fix blk_crypto_profile liftetime
@ 2022-04-20  6:47 ` Christoph Hellwig
  0 siblings, 0 replies; 16+ messages in thread
From: Christoph Hellwig @ 2022-04-20  6:47 UTC (permalink / raw)
  To: Jens Axboe, Eric Biggers
  Cc: Ulf Hansson, linux-scsi, linux-mmc, Mike Snitzer, Adrian Hunter,
	Ritesh Harjani, linux-block, Avri Altman, dm-devel, Alim Akhtar,
	Asutosh Das

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(-)

--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-04-22  6:36 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-20  6:47 [dm-devel] fix blk_crypto_profile liftetime Christoph Hellwig
2022-04-20  6:47 ` Christoph Hellwig
2022-04-20  6:47 ` [dm-devel] [PATCH 1/2] blk-crypto: merge blk-crypto-sysfs.c into blk-crypto-profile.c Christoph Hellwig
2022-04-20  6:47   ` Christoph Hellwig
2022-04-20  6:47 ` [dm-devel] [PATCH 2/2] blk-crypto: fix the blk_crypto_profile liftime Christoph Hellwig
2022-04-20  6:47   ` Christoph Hellwig
2022-04-20  9:49   ` [dm-devel] " Ulf Hansson
2022-04-20  9:49     ` Ulf Hansson
2022-04-20 19:41   ` [dm-devel] " Eric Biggers
2022-04-20 19:41     ` Eric Biggers
2022-04-21 14:25     ` [dm-devel] " Christoph Hellwig
2022-04-21 14:25       ` Christoph Hellwig
2022-04-22  6:27       ` [dm-devel] " Eric Biggers
2022-04-22  6:27         ` Eric Biggers
2022-04-21 14:40     ` [dm-devel] " Greg Kroah-Hartman
2022-04-21 14:40       ` Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.