aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/raid/raid5.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/raid/raid5.h')
-rw-r--r--include/linux/raid/raid5.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/raid/raid5.h b/include/linux/raid/raid5.h
index 394da8207b34..94dbdd406f12 100644
--- a/include/linux/raid/raid5.h
+++ b/include/linux/raid/raid5.h
@@ -240,7 +240,7 @@ struct raid5_private_data {
240 * waiting for 25% to be free 240 * waiting for 25% to be free
241 */ 241 */
242 spinlock_t device_lock; 242 spinlock_t device_lock;
243 struct disk_info disks[0]; 243 struct disk_info *disks;
244}; 244};
245 245
246typedef struct raid5_private_data raid5_conf_t; 246typedef struct raid5_private_data raid5_conf_t;