diff options
author | Slava Pestov <sp@daterainc.com> | 2014-07-12 00:22:53 -0700 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2014-08-04 15:23:04 -0700 |
commit | 2452cc89063a2a6890368f185c4b6d7d8802179e (patch) | |
tree | 842af976b4c614cb1cf6b27c60bb7bbaac1f8cb1 /drivers/md/bcache/btree.h | |
parent | c9a78332b42cbdcdd386a95192a716b67d1711a4 (diff) | |
download | linux-2452cc89063a2a6890368f185c4b6d7d8802179e.tar.bz2 |
bcache: try to set b->parent properly
bcache_flash_dev.ktest would reliably crash with 8k and 16k bucket size
before; now it passes.
Change-Id: Ib542232235e39298c3a7548fe52b645cabb823d1
Diffstat (limited to 'drivers/md/bcache/btree.h')
-rw-r--r-- | drivers/md/bcache/btree.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/bcache/btree.h b/drivers/md/bcache/btree.h index 00441821f5ad..5c391fa01bed 100644 --- a/drivers/md/bcache/btree.h +++ b/drivers/md/bcache/btree.h @@ -243,9 +243,9 @@ void bch_btree_node_write(struct btree *, struct closure *); void bch_btree_set_root(struct btree *); struct btree *__bch_btree_node_alloc(struct cache_set *, struct btree_op *, - int, bool); + int, bool, struct btree *); struct btree *bch_btree_node_get(struct cache_set *, struct btree_op *, - struct bkey *, int, bool); + struct bkey *, int, bool, struct btree *); int bch_btree_insert_check_key(struct btree *, struct btree_op *, struct bkey *); |