From: Mike Snitzer Date: Fri, 26 Jun 2015 14:07:04 +0000 (-0400) Subject: dm cache policy smq: fix "default" version to be 1.4.0 X-Git-Tag: submit/tizen/20160607.132125~2236^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b5451e456840af027b794afc2c7c84c2a17f569b;p=sdk%2Femulator%2Femulator-kernel.git dm cache policy smq: fix "default" version to be 1.4.0 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 Signed-off-by: Mike Snitzer --- diff --git a/drivers/md/dm-cache-policy-smq.c b/drivers/md/dm-cache-policy-smq.c index 80f02d3..b6f2265 100644 --- a/drivers/md/dm-cache-policy-smq.c +++ b/drivers/md/dm-cache-policy-smq.c @@ -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,