diff options
author | Kent Overstreet <koverstreet@google.com> | 2013-03-28 22:50:55 +0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-03-28 22:50:55 +0400 |
commit | 169ef1cf6171d35550fef85645b83b960e241cff (patch) | |
tree | 61451e5477e992d5bdee0fc906f9db018afc1239 /drivers/md/bcache/bset.c | |
parent | 0b6ef4164f50698eee536903d69d086add1a7889 (diff) | |
download | linux-169ef1cf6171d35550fef85645b83b960e241cff.tar.xz |
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/bset.c')
-rw-r--r-- | drivers/md/bcache/bset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/bcache/bset.c b/drivers/md/bcache/bset.c index 4dc9cb4efacb..0b33aac1f146 100644 --- a/drivers/md/bcache/bset.c +++ b/drivers/md/bcache/bset.c @@ -1026,7 +1026,7 @@ static void __btree_sort(struct btree *b, struct btree_iter *iter, if (!start) { spin_lock(&b->c->sort_time_lock); - time_stats_update(&b->c->sort_time, start_time); + bch_time_stats_update(&b->c->sort_time, start_time); spin_unlock(&b->c->sort_time_lock); } } @@ -1076,7 +1076,7 @@ void bch_btree_sort_into(struct btree *b, struct btree *new) btree_mergesort(b, new->sets->data, &iter, false, true); spin_lock(&b->c->sort_time_lock); - time_stats_update(&b->c->sort_time, start_time); + bch_time_stats_update(&b->c->sort_time, start_time); spin_unlock(&b->c->sort_time_lock); bkey_copy_key(&new->key, &b->key); |