dm cache policy smq: move 'dm-cache-default' module alias to SMQ
authorYi Zhang <yizhan@redhat.com>
Wed, 12 Aug 2015 11:22:43 +0000 (19:22 +0800)
committerMike Snitzer <snitzer@redhat.com>
Wed, 12 Aug 2015 15:27:29 +0000 (11:27 -0400)
commit34dd051741572859bc1fef525c5ddbc127158b52
tree815aebe2223832c173913226499a82d5d7a41ebc
parentb0dc3c8bc157c60b1d470163882be8c13e1950af
dm cache policy smq: move 'dm-cache-default' module alias to SMQ

When creating dm-cache with the default policy, it will call
request_module("dm-cache-default") to register the default policy.
But the "dm-cache-default" alias was left referring to the MQ policy.
Fix this by moving the module alias to SMQ.

Fixes: bccab6a0 (dm cache: switch the "default" cache replacement policy from mq to smq)
Signed-off-by: Yi Zhang <yizhan@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-cache-policy-mq.c
drivers/md/dm-cache-policy-smq.c