diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-12-18 08:49:49 +0100 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2014-01-08 22:05:12 +0100 |
commit | ee811287c9f241641899788cbfc9d70ed96ba3a5 (patch) | |
tree | 91995b415b61e17bc5cc0796e2a7d933c1ca4e60 /drivers/md/bcache/debug.c | |
parent | bcache: Add struct bset_sort_state (diff) | |
download | linux-ee811287c9f241641899788cbfc9d70ed96ba3a5.tar.xz linux-ee811287c9f241641899788cbfc9d70ed96ba3a5.zip |
bcache: Rename/shuffle various code around
More work to disentangle bset.c from the rest of the code:
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'drivers/md/bcache/debug.c')
-rw-r--r-- | drivers/md/bcache/debug.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/bcache/debug.c b/drivers/md/bcache/debug.c index 955fa1d31774..5a78137c420d 100644 --- a/drivers/md/bcache/debug.c +++ b/drivers/md/bcache/debug.c @@ -123,7 +123,8 @@ static void bch_dump_bucket(struct btree *b) for (i = (start); \ (void *) i < (void *) (start) + (KEY_SIZE(&b->key) << 9) &&\ i->seq == (start)->seq; \ - i = (void *) i + set_blocks(i, b->c) * block_bytes(b->c)) + i = (void *) i + set_blocks(i, block_bytes(b->c)) * \ + block_bytes(b->c)) void bch_btree_verify(struct btree *b) { |