diff options
Diffstat (limited to 'drivers/md/bcache/movinggc.c')
-rw-r--r-- | drivers/md/bcache/movinggc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/bcache/movinggc.c b/drivers/md/bcache/movinggc.c index e3ec0a550b00..8589512c972e 100644 --- a/drivers/md/bcache/movinggc.c +++ b/drivers/md/bcache/movinggc.c | |||
@@ -85,7 +85,7 @@ static void moving_init(struct moving_io *io) | |||
85 | PAGE_SECTORS); | 85 | PAGE_SECTORS); |
86 | bio->bi_private = &io->s.cl; | 86 | bio->bi_private = &io->s.cl; |
87 | bio->bi_io_vec = bio->bi_inline_vecs; | 87 | bio->bi_io_vec = bio->bi_inline_vecs; |
88 | bio_map(bio, NULL); | 88 | bch_bio_map(bio, NULL); |
89 | } | 89 | } |
90 | 90 | ||
91 | static void write_moving(struct closure *cl) | 91 | static void write_moving(struct closure *cl) |
@@ -159,7 +159,7 @@ static void read_moving(struct closure *cl) | |||
159 | bio->bi_rw = READ; | 159 | bio->bi_rw = READ; |
160 | bio->bi_end_io = read_moving_endio; | 160 | bio->bi_end_io = read_moving_endio; |
161 | 161 | ||
162 | if (bio_alloc_pages(bio, GFP_KERNEL)) | 162 | if (bch_bio_alloc_pages(bio, GFP_KERNEL)) |
163 | goto err; | 163 | goto err; |
164 | 164 | ||
165 | pr_debug("%s", pkey(&w->key)); | 165 | pr_debug("%s", pkey(&w->key)); |