diff options
Diffstat (limited to 'drivers/md/bcache/alloc.c')
| -rw-r--r-- | drivers/md/bcache/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/alloc.c b/drivers/md/bcache/alloc.c index a27d85232ce1..a0cc1bc6d884 100644 --- a/drivers/md/bcache/alloc.c +++ b/drivers/md/bcache/alloc.c | |||
| @@ -490,7 +490,7 @@ int __bch_bucket_alloc_set(struct cache_set *c, unsigned reserve, | |||
| 490 | if (b == -1) | 490 | if (b == -1) |
| 491 | goto err; | 491 | goto err; |
| 492 | 492 | ||
| 493 | k->ptr[i] = PTR(ca->buckets[b].gen, | 493 | k->ptr[i] = MAKE_PTR(ca->buckets[b].gen, |
| 494 | bucket_to_sector(c, b), | 494 | bucket_to_sector(c, b), |
| 495 | ca->sb.nr_this_dev); | 495 | ca->sb.nr_this_dev); |
| 496 | 496 | ||
