mirror of https://gitee.com/openkylin/linux.git
dm cache policy smq: clarify that mq registration failure was for 'mq'
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
This commit is contained in:
parent
c80914e81e
commit
7dd85bb0e9
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue