get_random_int() is not available, and is required when
CONFIG_BCACHE_DEBUG is used.
---
 block/bcache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/block/bcache.c b/block/bcache.c
index faaf75e..9a1ab79 100644
--- a/block/bcache.c
+++ b/block/bcache.c
@@ -6255,7 +6255,7 @@ static ssize_t btree_fuzz(struct kobject *k, struct 
kobj_attribute *a,
                        struct bset *i = write_block(b);
                        struct bkey *k = op.keys.top;
 
-                       k->key = get_random_int();
+                       k->key = 0; /* FIXME */
 
                        op.insert_type = k->key & 1
                                ? INSERT_WRITE
-- 
1.7.4.4

--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to