# Re: \[PATCH v3 01/10\] block: introduce blk\_ksm\_is\_empty()

- From: Eric Biggers \<ebiggers@kernel.org\>
- Date: 2021-06-16 23:47:12 
- List: linux-block
- Page: https://ratatoskr.run/linux-block/2021/06/1417296
- Thread: https://ratatoskr.run/linux-block/2021/06/1403040/t.md

```text
On Fri, Jun 04, 2021 at 07:58:51PM +0000, Satya Tangirala wrote:
> This function checks if a given keyslot manager supports any encryption
> mode/data unit size combination (and returns true if there is no such
> supported combination). Helps clean up code a little.
> 
> Signed-off-by: Satya Tangirala <redacted>
> ---
>  block/keyslot-manager.c         | 21 +++++++++++++++++++++
>  drivers/md/dm-table.c           | 11 +----------
>  include/linux/keyslot-manager.h |  2 ++
>  3 files changed, 24 insertions(+), 10 deletions(-)

Reviewed-by: Eric Biggers <redacted>
```
