]> git.baikalelectronics.ru Git - kernel.git/commit
dm: support key eviction from keyslot managers of underlying devices
authorSatya Tangirala <satyat@google.com>
Mon, 1 Feb 2021 05:10:18 +0000 (05:10 +0000)
committerMike Snitzer <snitzer@redhat.com>
Thu, 11 Feb 2021 14:45:25 +0000 (09:45 -0500)
commit42ed75c26b27fcafa41cf221aa2ea99e7b487197
tree115efa910dae43f1854cdc7a0157d9e7f85aaf1d
parente1f994b3d02b174c9c8c281ce0af7ac48617e7e5
dm: support key eviction from keyslot managers of underlying devices

Now that device mapper supports inline encryption, add the ability to
evict keys from all underlying devices. When an upper layer requests
a key eviction, we simply iterate through all underlying devices
and evict that key from each device.

Co-developed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Satya Tangirala <satyat@google.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
block/blk-crypto.c
drivers/md/dm-table.c