summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2015-08-21 00:15:53 -0800
committerKent Overstreet <kent.overstreet@gmail.com>2017-01-18 20:21:21 -0900
commit5e64b444c5f8472ff39cc0937743fbc478c059a8 (patch)
tree00400223d66138f25bac8e623c0a9f7cbd134592
parent54223c170c727cee813e8681aba04e7871beaf7e (diff)
bcache: resize open_buckets array in data_insert_op back to 2
this was changed to 1 to work around a deadlock that should no longer exist Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
-rw-r--r--drivers/md/bcache/request.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/request.h b/drivers/md/bcache/request.h
index b159bee07b9b..a4467456fe72 100644
--- a/drivers/md/bcache/request.h
+++ b/drivers/md/bcache/request.h
@@ -47,7 +47,7 @@ struct data_insert_op {
};
};
- struct open_bucket *open_buckets[1];
+ struct open_bucket *open_buckets[2];
struct keylist insert_keys;
BKEY_PADDED(insert_key);