summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/md/dm-cache-policy-cleaner.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/md/dm-cache-policy-cleaner.c')
-rw-r--r--kernel/drivers/md/dm-cache-policy-cleaner.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/drivers/md/dm-cache-policy-cleaner.c b/kernel/drivers/md/dm-cache-policy-cleaner.c
index b04d1f904..004e463c9 100644
--- a/kernel/drivers/md/dm-cache-policy-cleaner.c
+++ b/kernel/drivers/md/dm-cache-policy-cleaner.c
@@ -171,7 +171,8 @@ static void remove_cache_hash_entry(struct wb_cache_entry *e)
/* Public interface (see dm-cache-policy.h */
static int wb_map(struct dm_cache_policy *pe, dm_oblock_t oblock,
bool can_block, bool can_migrate, bool discarded_oblock,
- struct bio *bio, struct policy_result *result)
+ struct bio *bio, struct policy_locker *locker,
+ struct policy_result *result)
{
struct policy *p = to_policy(pe);
struct wb_cache_entry *e;