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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user