dm-thin obviously can pass through inline crypto support.
Signed-off-by: LongPing Wei <[email protected]>
---
drivers/md/dm-thin.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/md/dm-thin.c b/drivers/md/dm-thin.c
index 05cf4e3f2bbe..42f218dcf99f 100644
--- a/drivers/md/dm-thin.c
+++ b/drivers/md/dm-thin.c
@@ -4111,7 +4111,7 @@ static void pool_io_hints(struct dm_target *ti, struct
queue_limits *limits)
static struct target_type pool_target = {
.name = "thin-pool",
.features = DM_TARGET_SINGLETON | DM_TARGET_ALWAYS_WRITEABLE |
- DM_TARGET_IMMUTABLE,
+ DM_TARGET_IMMUTABLE | DM_TARGET_PASSES_CRYPTO,
.version = {1, 23, 0},
.module = THIS_MODULE,
.ctr = pool_ctr,
@@ -4509,6 +4509,7 @@ static struct target_type thin_target = {
.status = thin_status,
.iterate_devices = thin_iterate_devices,
.io_hints = thin_io_hints,
+ .features = DM_TARGET_PASSES_CRYPTO,
};
/*----------------------------------------------------------------*/
--
2.34.1