提交 cef52797 编写于 作者: K Kent Overstreet

bcache: Disable broken btree fuzz tester

Reported-by: <sasha.levin@oracle.com>
Signed-off-by: NKent Overstreet <koverstreet@google.com>
上级 91bbcfc3
...@@ -409,7 +409,9 @@ void bch_debug_init_cache_set(struct cache_set *c) ...@@ -409,7 +409,9 @@ void bch_debug_init_cache_set(struct cache_set *c)
#endif #endif
#ifdef CONFIG_BCACHE_DEBUG /* Fuzz tester has rotted: */
#if 0
static ssize_t btree_fuzz(struct kobject *k, struct kobj_attribute *a, static ssize_t btree_fuzz(struct kobject *k, struct kobj_attribute *a,
const char *buffer, size_t size) const char *buffer, size_t size)
{ {
...@@ -552,7 +554,7 @@ void bch_debug_exit(void) ...@@ -552,7 +554,7 @@ void bch_debug_exit(void)
int __init bch_debug_init(struct kobject *kobj) int __init bch_debug_init(struct kobject *kobj)
{ {
int ret = 0; int ret = 0;
#ifdef CONFIG_BCACHE_DEBUG #if 0
ret = sysfs_create_file(kobj, &ksysfs_fuzz.attr); ret = sysfs_create_file(kobj, &ksysfs_fuzz.attr);
if (ret) if (ret)
return ret; return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册