dm cache policy smq: mv module alias: dm-cache-default to SMQ
PATCH 1/1 dm cache policy smq: mv module alias: dm-cache-default 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 is for dm-cache-mq which is incorrect, so move the module alias: dm-cache-default to SMQ.
Signed-off-by Yi Zhang <[email protected]>
--- drivers/md/dm-cache-policy-mq.c | 2 -- drivers/md/dm-cache-policy-smq.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/md/dm-cache-policy-mq.c +0 -2
@@ -1471,5 +1471,3 @@ module_exit(mq_exit);MODULE_AUTHOR ("Joe Thornber <[email protected]>" );MODULE_LICENSE ("GPL" );MODULE_DESCRIPTION ("mq cache policy" ); - -MODULE_ALIAS ("dm-cache-default" );
drivers/md/dm-cache-policy-smq.c +2 -0
@@ -1757,3 +1757,5 @@ module_exit(smq_exit);MODULE_AUTHOR ("Joe Thornber <[email protected]>" );MODULE_LICENSE ("GPL" );MODULE_DESCRIPTION ("smq cache policy" ); + +MODULE_ALIAS ("dm-cache-default" );
Signature · 1 line
1.9.3