Skip to contentSkip to conversation

dm-verity: correct the name of verify wq

PATCH In review Aiden Ma 2 participants 3 messages Nov 18, 2025 – Nov 19, 2025 Device mapper

lore
Share & tools
lore

Aiden Ma

author
#0 lore raw

PATCH 1/1 dm-verity: correct the name of verify wq

The name of workqueue verify_wq should be "kverifyd", not "kverityd".

---
 drivers/md/dm-verity-target.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/md/dm-verity-target.c +1 -1
index 66a00a8ccb39..e8f1300f5f25 100644
@@ -1549,7 +1549,7 @@ static int verity_ctr(struct dm_target *ti, unsigned int argc, char **argv)
 	 * will fall-back to using it for error handling (or if the bufio cache
 	 * doesn't have required hashes).
 	 */
-	v->verify_wq = alloc_workqueue("kverityd", WQ_MEM_RECLAIM | WQ_HIGHPRI, 0);
+	v->verify_wq = alloc_workqueue("kverifyd", WQ_MEM_RECLAIM | WQ_HIGHPRI, 0);
 	if (!v->verify_wq) {
 		ti->error = "Cannot allocate workqueue";
 		r = -ENOMEM;
Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 22 lines · Aiden Ma

The name of workqueue verify_wq should be "kverifyd", not "kverityd".

---
 drivers/md/dm-verity-target.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/md/dm-verity-target.c +1 -1
index 66a00a8ccb39..e8f1300f5f25 100644
@@ -1549,7 +1549,7 @@ static int verity_ctr(struct dm_target *ti, unsigned int argc, char **argv)
 	 * will fall-back to using it for error handling (or if the bufio cache
 	 * doesn't have required hashes).
 	 */
-	v->verify_wq = alloc_workqueue("kverityd", WQ_MEM_RECLAIM | WQ_HIGHPRI, 0);
+	v->verify_wq = alloc_workqueue("kverifyd", WQ_MEM_RECLAIM | WQ_HIGHPRI, 0);
 	if (!v->verify_wq) {
 		ti->error = "Cannot allocate workqueue";
 		r = -ENOMEM;
Signature · 1 line
2.43.0

Hi

The target is called "verity", not "verify", so I think that "kverityd" - as "kernel-verity-daemon" is OK.

Mikulas

author
#2 lore raw

Oh, sorry — I thought it was a typo and was wondering how come no one caught it.

Quoted 31 lines · Mikulas Patocka
Quoted 22 lines · Aiden Ma

The name of workqueue verify_wq should be "kverifyd", not "kverityd".

---
  drivers/md/dm-verity-target.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/md/dm-verity-target.c +1 -1
index 66a00a8ccb39..e8f1300f5f25 100644
@@ -1549,7 +1549,7 @@ static int verity_ctr(struct dm_target *ti, unsigned int argc, char **argv)
  	 * will fall-back to using it for error handling (or if the bufio cache
  	 * doesn't have required hashes).
  	 */
-	v->verify_wq = alloc_workqueue("kverityd", WQ_MEM_RECLAIM | WQ_HIGHPRI, 0);
+	v->verify_wq = alloc_workqueue("kverifyd", WQ_MEM_RECLAIM | WQ_HIGHPRI, 0);
  	if (!v->verify_wq) {
  		ti->error = "Cannot allocate workqueue";
  		r = -ENOMEM;
Signature · 1 line
2.43.0

Hi

The target is called "verity", not "verify", so I think that "kverityd" - as "kernel-verity-daemon" is OK.

Mikulas