projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
926ce2d
)
[PATCH] md: Raid-6 did not create sysfs entries for stripe cache
author
NeilBrown
<
[email protected]
>
Fri, 31 Mar 2006 10:32:06 +0000
(
02:32
-0800)
committer
Linus Torvalds
<
[email protected]
>
Fri, 31 Mar 2006 20:19:01 +0000
(12:19 -0800)
Signed-off-by: Brad Campbell <
[email protected]
>
Signed-off-by: Neil Brown <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/md/raid6main.c
patch
|
blob
|
history
diff --git
a/drivers/md/raid6main.c
b/drivers/md/raid6main.c
index 6df4930fddecae952d7e5e07c165a97877d12825..ab64b37e499602ac644489ed1d9fb40734d8ef9b 100644
(file)
--- a/
drivers/md/raid6main.c
+++ b/
drivers/md/raid6main.c
@@
-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;