Skip to content

Commit

Permalink
bcache: Disable broken btree fuzz tester
Browse files Browse the repository at this point in the history
Reported-by: <sasha.levin@oracle.com>
Signed-off-by: Kent Overstreet <koverstreet@google.com>
  • Loading branch information
Kent Overstreet committed Apr 8, 2013
1 parent 91bbcfc commit cef5279
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/md/bcache/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit cef5279

Please sign in to comment.