aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache/bset.c
diff options
context:
space:
mode:
authorKent Overstreet <kmo@daterainc.com>2013-07-24 21:04:18 -0400
committerKent Overstreet <kmo@daterainc.com>2013-11-11 00:56:09 -0500
commitb54d6934da7857f87b092df9b77dc1f42818ba94 (patch)
treef505788c5308287f65c0b2bc58e9ff358f336d03 /drivers/md/bcache/bset.c
parentc18536a72ddd7fe30d63e6c1500b5c930ac14594 (diff)
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>
Diffstat (limited to 'drivers/md/bcache/bset.c')
-rw-r--r--drivers/md/bcache/bset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/bset.c b/drivers/md/bcache/bset.c
index fae5b7b3f5ab..f7b5525ddafa 100644
--- a/drivers/md/bcache/bset.c
+++ b/drivers/md/bcache/bset.c
@@ -1196,7 +1196,7 @@ int bch_bset_print_stats(struct cache_set *c, char *buf)
1196 int ret; 1196 int ret;
1197 1197
1198 memset(&t, 0, sizeof(struct bset_stats)); 1198 memset(&t, 0, sizeof(struct bset_stats));
1199 bch_btree_op_init_stack(&t.op); 1199 bch_btree_op_init(&t.op, -1);
1200 1200
1201 ret = bch_btree_map_nodes(&t.op, c, &ZERO_KEY, btree_bset_stats); 1201 ret = bch_btree_map_nodes(&t.op, c, &ZERO_KEY, btree_bset_stats);
1202 if (ret < 0) 1202 if (ret < 0)