Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361516
b: refs/heads/master
c: b978440
h: refs/heads/master
v: v3
  • Loading branch information
Heinz Mauelshagen authored and Alasdair G Kergon committed Mar 20, 2013
1 parent d7c40ff commit 1e518d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 617a0b89da4898d4cc990c9eb4bc9c0591c538a5
refs/heads/master: b978440b8db901aba0c4cd38c7c841c9b5cd9a7e
5 changes: 4 additions & 1 deletion trunk/drivers/md/dm-cache-target.c
Original file line number Diff line number Diff line change
Expand Up @@ -1763,8 +1763,11 @@ static int create_cache_policy(struct cache *cache, struct cache_args *ca,
}

r = set_config_values(cache->policy, ca->policy_argc, ca->policy_argv);
if (r)
if (r) {
*error = "Error setting cache policy's config values";
dm_cache_policy_destroy(cache->policy);
cache->policy = NULL;
}

return r;
}
Expand Down

0 comments on commit 1e518d5

Please sign in to comment.