bcache: Kill op->cl

This isn't used for waiting asynchronously anymore - so this is a fairly
trivial refactoring.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
This commit is contained in:
Kent Overstreet
2013-07-24 18:04:18 -07:00
parent c18536a72d
commit b54d6934da
8 changed files with 63 additions and 81 deletions

View File

@@ -1196,7 +1196,7 @@ int bch_bset_print_stats(struct cache_set *c, char *buf)
int ret;
memset(&t, 0, sizeof(struct bset_stats));
bch_btree_op_init_stack(&t.op);
bch_btree_op_init(&t.op, -1);
ret = bch_btree_map_nodes(&t.op, c, &ZERO_KEY, btree_bset_stats);
if (ret < 0)