[PATCH] md: Raid-6 did not create sysfs entries for stripe cache
authorNeilBrown <neilb@suse.de>
Fri, 31 Mar 2006 10:32:06 +0000 (02:32 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:19:01 +0000 (12:19 -0800)
Signed-off-by: Brad Campbell <brad@wasp.net.au>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/raid6main.c

index 6df4930fddecae952d7e5e07c165a97877d12825..ab64b37e499602ac644489ed1d9fb40734d8ef9b 100644 (file)
@@ -2151,6 +2151,8 @@ static int run(mddev_t *mddev)
        }
 
        /* Ok, everything is just fine now */
+       sysfs_create_group(&mddev->kobj, &raid6_attrs_group);
+
        mddev->array_size =  mddev->size * (mddev->raid_disks - 2);
 
        mddev->queue->unplug_fn = raid6_unplug_device;