projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.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
<neilb@suse.de>
Fri, 31 Mar 2006 10:32:06 +0000
(
02:32
-0800)
committer
Linus 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
patch
|
blob
|
blame
|
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;