diff options
author | Kent Overstreet <koverstreet@google.com> | 2013-03-28 14:50:55 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-03-28 14:50:55 -0400 |
commit | 169ef1cf6171d35550fef85645b83b960e241cff (patch) | |
tree | 61451e5477e992d5bdee0fc906f9db018afc1239 /drivers/md/bcache/movinggc.c | |
parent | 0b6ef4164f50698eee536903d69d086add1a7889 (diff) |
bcache: Don't export utility code, prefix with bch_
Signed-off-by: Kent Overstreet <koverstreet@google.com>
Cc: linux-bcache@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
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)); |