summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-cache-policy-smq.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2015-06-26 16:07:04 +0200
committerMike Snitzer <snitzer@redhat.com>2015-06-26 16:14:28 +0200
commitb5451e456840af027b794afc2c7c84c2a17f569b (patch)
treee5602adefe0c6a92b050f3aa379d6a9b4585835e /drivers/md/dm-cache-policy-smq.c
parentdm: bump the ioctl version to 4.32.0 (diff)
downloadlinux-b5451e456840af027b794afc2c7c84c2a17f569b.tar.xz
linux-b5451e456840af027b794afc2c7c84c2a17f569b.zip
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 <agk@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/md/dm-cache-policy-smq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-cache-policy-smq.c b/drivers/md/dm-cache-policy-smq.c
index 80f02d3330e2..b6f22651dd35 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,