]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit152d25b8fe55109235f76e683f0baca8bec41eda
tree815aebe2223832c173913226499a82d5d7a41ebc
parentdf5e0506f0352e92e5731adb949cc5d6786d7c61
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: 0a89164c (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