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/journal.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/journal.c')
-rw-r--r-- | drivers/md/bcache/journal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/bcache/journal.c b/drivers/md/bcache/journal.c index 21fd1010cf5d..b0a3d0577d13 100644 --- a/drivers/md/bcache/journal.c +++ b/drivers/md/bcache/journal.c | |||
@@ -54,7 +54,7 @@ reread: left = ca->sb.bucket_size - offset; | |||
54 | 54 | ||
55 | bio->bi_end_io = journal_read_endio; | 55 | bio->bi_end_io = journal_read_endio; |
56 | bio->bi_private = &op->cl; | 56 | bio->bi_private = &op->cl; |
57 | bio_map(bio, data); | 57 | bch_bio_map(bio, data); |
58 | 58 | ||
59 | closure_bio_submit(bio, &op->cl, ca); | 59 | closure_bio_submit(bio, &op->cl, ca); |
60 | closure_sync(&op->cl); | 60 | closure_sync(&op->cl); |
@@ -621,7 +621,7 @@ static void journal_write_unlocked(struct closure *cl) | |||
621 | 621 | ||
622 | bio->bi_end_io = journal_write_endio; | 622 | bio->bi_end_io = journal_write_endio; |
623 | bio->bi_private = w; | 623 | bio->bi_private = w; |
624 | bio_map(bio, w->data); | 624 | bch_bio_map(bio, w->data); |
625 | 625 | ||
626 | trace_bcache_journal_write(bio); | 626 | trace_bcache_journal_write(bio); |
627 | bio_list_add(&list, bio); | 627 | bio_list_add(&list, bio); |