From cef5279735d3f6f0243e626963e6d5c84efade0a Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Fri, 5 Apr 2013 14:20:29 -0700 Subject: bcache: Disable broken btree fuzz tester Reported-by: Signed-off-by: Kent Overstreet --- drivers/md/bcache/debug.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'drivers/md') diff --git a/drivers/md/bcache/debug.c b/drivers/md/bcache/debug.c index 24a5a2fed6d..89fd5204924 100644 --- a/drivers/md/bcache/debug.c +++ b/drivers/md/bcache/debug.c @@ -409,7 +409,9 @@ void bch_debug_init_cache_set(struct cache_set *c) #endif -#ifdef CONFIG_BCACHE_DEBUG +/* Fuzz tester has rotted: */ +#if 0 + static ssize_t btree_fuzz(struct kobject *k, struct kobj_attribute *a, const char *buffer, size_t size) { @@ -552,7 +554,7 @@ void bch_debug_exit(void) int __init bch_debug_init(struct kobject *kobj) { int ret = 0; -#ifdef CONFIG_BCACHE_DEBUG +#if 0 ret = sysfs_create_file(kobj, &ksysfs_fuzz.attr); if (ret) return ret; -- cgit v1.2.3-70-g09d2