diff options
author | 2021-02-01 05:10:19 +0000 | |
---|---|---|
committer | 2021-02-11 09:45:26 -0500 | |
commit | 3db564b4f5925f126c36cc033dfdbec0b6a785a9 (patch) | |
tree | d46a37f6628cb75a00a5125b0745ed447c6ff3ab /drivers/md/dm-linear.c | |
parent | dm: support key eviction from keyslot managers of underlying devices (diff) | |
download | linux-3db564b4f5925f126c36cc033dfdbec0b6a785a9.tar.gz linux-3db564b4f5925f126c36cc033dfdbec0b6a785a9.tar.bz2 linux-3db564b4f5925f126c36cc033dfdbec0b6a785a9.zip |
dm: set DM_TARGET_PASSES_CRYPTO feature for some targets
dm-linear and dm-flakey obviously can pass through inline crypto support.
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>
Diffstat (limited to 'drivers/md/dm-linear.c')
-rw-r--r-- | drivers/md/dm-linear.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/md/dm-linear.c b/drivers/md/dm-linear.c index 00774b5d7668..fc9c4272c10d 100644 --- a/drivers/md/dm-linear.c +++ b/drivers/md/dm-linear.c @@ -229,10 +229,11 @@ static struct target_type linear_target = { .version = {1, 4, 0}, #ifdef CONFIG_BLK_DEV_ZONED .features = DM_TARGET_PASSES_INTEGRITY | DM_TARGET_NOWAIT | - DM_TARGET_ZONED_HM, + DM_TARGET_ZONED_HM | DM_TARGET_PASSES_CRYPTO, .report_zones = linear_report_zones, #else - .features = DM_TARGET_PASSES_INTEGRITY | DM_TARGET_NOWAIT, + .features = DM_TARGET_PASSES_INTEGRITY | DM_TARGET_NOWAIT | + DM_TARGET_PASSES_CRYPTO, #endif .module = THIS_MODULE, .ctr = linear_ctr, |