diff options
author | Kent Overstreet <koverstreet@google.com> | 2013-04-05 14:20:29 -0700 |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2013-04-08 13:33:49 -0700 |
commit | cef5279735d3f6f0243e626963e6d5c84efade0a (patch) | |
tree | be7adf4f26507e7702c12f838f6a13b2562e5d0c /drivers/md | |
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')
-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 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; |