summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/md/raid5.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/md/raid5.h')
-rw-r--r--kernel/drivers/md/raid5.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/drivers/md/raid5.h b/kernel/drivers/md/raid5.h
index 66199a494..584c7bd62 100644
--- a/kernel/drivers/md/raid5.h
+++ b/kernel/drivers/md/raid5.h
@@ -482,7 +482,8 @@ struct r5conf {
*/
int active_name;
char cache_name[2][32];
- struct kmem_cache *slab_cache; /* for allocating stripes */
+ struct kmem_cache *slab_cache; /* for allocating stripes */
+ struct mutex cache_size_mutex; /* Protect changes to cache size */
int seq_flush, seq_write;
int quiesce;