summaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache/debug.c
diff options
context:
space:
mode:
authorKent Overstreet2013-12-21 02:22:05 +0100
committerKent Overstreet2014-01-08 22:05:12 +0100
commit65d45231b56efb3db51eb441e2c68f8252ecdd12 (patch)
treeb862e6fa72d076373c79841b555ef525d3b0f41b /drivers/md/bcache/debug.c
parentbcache: Rename/shuffle various code around (diff)
downloadkernel-qcow2-linux-65d45231b56efb3db51eb441e2c68f8252ecdd12.tar.gz
kernel-qcow2-linux-65d45231b56efb3db51eb441e2c68f8252ecdd12.tar.xz
kernel-qcow2-linux-65d45231b56efb3db51eb441e2c68f8252ecdd12.zip
bcache: Abstract out stuff needed for sorting
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'drivers/md/bcache/debug.c')
-rw-r--r--drivers/md/bcache/debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/bcache/debug.c b/drivers/md/bcache/debug.c
index 5a78137c420d..2c6587d016db 100644
--- a/drivers/md/bcache/debug.c
+++ b/drivers/md/bcache/debug.c
@@ -145,6 +145,7 @@ void bch_btree_verify(struct btree *b)
bkey_copy(&v->key, &b->key);
v->written = 0;
v->level = b->level;
+ v->ops = b->ops;
bio = bch_bbio_alloc(b->c);
bio->bi_bdev = PTR_CACHE(b->c, &b->key, 0)->bdev;