summaryrefslogtreecommitdiffstats
path: root/drivers/md/md-linear.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/md-linear.h')
-rw-r--r--drivers/md/md-linear.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md-linear.h b/drivers/md/md-linear.h
index 24e97db50e..5587eeedb8 100644
--- a/drivers/md/md-linear.h
+++ b/drivers/md/md-linear.h
@@ -12,6 +12,6 @@ struct linear_conf
struct rcu_head rcu;
sector_t array_sectors;
int raid_disks; /* a copy of mddev->raid_disks */
- struct dev_info disks[];
+ struct dev_info disks[] __counted_by(raid_disks);
};
#endif