aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r--drivers/md/md.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index a3ecaf8ed30a..c7b7656f9aa5 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -2775,7 +2775,6 @@ static void autorun_array(mddev_t *mddev)
2775 */ 2775 */
2776static void autorun_devices(int part) 2776static void autorun_devices(int part)
2777{ 2777{
2778 struct list_head candidates;
2779 struct list_head *tmp; 2778 struct list_head *tmp;
2780 mdk_rdev_t *rdev0, *rdev; 2779 mdk_rdev_t *rdev0, *rdev;
2781 mddev_t *mddev; 2780 mddev_t *mddev;
@@ -2784,6 +2783,7 @@ static void autorun_devices(int part)
2784 printk(KERN_INFO "md: autorun ...\n"); 2783 printk(KERN_INFO "md: autorun ...\n");
2785 while (!list_empty(&pending_raid_disks)) { 2784 while (!list_empty(&pending_raid_disks)) {
2786 dev_t dev; 2785 dev_t dev;
2786 LIST_HEAD(candidates);
2787 rdev0 = list_entry(pending_raid_disks.next, 2787 rdev0 = list_entry(pending_raid_disks.next,
2788 mdk_rdev_t, same_set); 2788 mdk_rdev_t, same_set);
2789 2789