dm cache policy smq: fix "default" version to be 1.4.0
authorMike Snitzer <snitzer@redhat.com>
Fri, 26 Jun 2015 14:07:04 +0000 (10:07 -0400)
committerMike Snitzer <snitzer@redhat.com>
Fri, 26 Jun 2015 14:14:28 +0000 (10:14 -0400)
Commit bccab6a0 ("dm cache: switch the "default" cache replacement
policy from mq to smq") should've incremented the "default" policy's
version number to 1.4.0 rather than reverting to version 1.0.0.

Reported-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-cache-policy-smq.c

index 80f02d3330e2e72c793e39452e6692eb94fc740d..b6f22651dd356e7e5b4d0bed4268f4ac9dd62772 100644 (file)
@@ -1750,7 +1750,7 @@ static struct dm_cache_policy_type smq_policy_type = {
 
 static struct dm_cache_policy_type default_policy_type = {
        .name = "default",
-       .version = {1, 0, 0},
+       .version = {1, 4, 0},
        .hint_size = 4,
        .owner = THIS_MODULE,
        .create = smq_create,