Commit 7dd85bb0 authored by Mike Snitzer's avatar Mike Snitzer

dm cache policy smq: clarify that mq registration failure was for 'mq'

Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent c80914e8
...@@ -1805,7 +1805,7 @@ static int __init smq_init(void) ...@@ -1805,7 +1805,7 @@ static int __init smq_init(void)
r = dm_cache_policy_register(&mq_policy_type); r = dm_cache_policy_register(&mq_policy_type);
if (r) { if (r) {
DMERR("register failed %d", r); DMERR("register failed (as mq) %d", r);
dm_cache_policy_unregister(&smq_policy_type); dm_cache_policy_unregister(&smq_policy_type);
return -ENOMEM; return -ENOMEM;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment