diff options
author | Kent Overstreet <koverstreet@google.com> | 2013-04-05 17:20:29 -0400 |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2013-04-08 16:33:49 -0400 |
commit | cef5279735d3f6f0243e626963e6d5c84efade0a (patch) | |
tree | be7adf4f26507e7702c12f838f6a13b2562e5d0c /drivers/md/bcache/debug.c | |
parent | 91bbcfc36142354e316e013449051619c1c7b456 (diff) |
bcache: Disable broken btree fuzz tester
Reported-by: <sasha.levin@oracle.com>
Signed-off-by: Kent Overstreet <koverstreet@google.com>
Diffstat (limited to 'drivers/md/bcache/debug.c')
-rw-r--r-- | drivers/md/bcache/debug.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/md/bcache/debug.c b/drivers/md/bcache/debug.c index 24a5a2fed6d3..89fd5204924e 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) | |||
409 | 409 | ||
410 | #endif | 410 | #endif |
411 | 411 | ||
412 | #ifdef CONFIG_BCACHE_DEBUG | 412 | /* Fuzz tester has rotted: */ |
413 | #if 0 | ||
414 | |||
413 | static ssize_t btree_fuzz(struct kobject *k, struct kobj_attribute *a, | 415 | static ssize_t btree_fuzz(struct kobject *k, struct kobj_attribute *a, |
414 | const char *buffer, size_t size) | 416 | const char *buffer, size_t size) |
415 | { | 417 | { |
@@ -552,7 +554,7 @@ void bch_debug_exit(void) | |||
552 | int __init bch_debug_init(struct kobject *kobj) | 554 | int __init bch_debug_init(struct kobject *kobj) |
553 | { | 555 | { |
554 | int ret = 0; | 556 | int ret = 0; |
555 | #ifdef CONFIG_BCACHE_DEBUG | 557 | #if 0 |
556 | ret = sysfs_create_file(kobj, &ksysfs_fuzz.attr); | 558 | ret = sysfs_create_file(kobj, &ksysfs_fuzz.attr); |
557 | if (ret) | 559 | if (ret) |
558 | return ret; | 560 | return ret; |