dm cache policy smq: clarify that mq registration failure was for 'mq'
authorMike Snitzer <snitzer@redhat.com>
Thu, 3 Mar 2016 13:11:30 +0000 (08:11 -0500)
committerMike Snitzer <snitzer@redhat.com>
Thu, 10 Mar 2016 22:12:11 +0000 (17:12 -0500)
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-cache-policy-smq.c

index a3e8e747b94f57c02c123b2f0db02324bc2df7cb..cf48a617a3a4f4ff53c2e2805e5a458e6b5a7adc 100644 (file)
@@ -1805,7 +1805,7 @@ static int __init smq_init(void)
 
        r = dm_cache_policy_register(&mq_policy_type);
        if (r) {
-               DMERR("register failed %d", r);
+               DMERR("register failed (as mq) %d", r);
                dm_cache_policy_unregister(&smq_policy_type);
                return -ENOMEM;
        }