git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6538fe
)
md/raid5: new alloc_stripe() to allocate an initialize a stripe.
author
NeilBrown
<neilb@suse.de>
Fri, 8 May 2015 08:19:04 +0000
(18:19 +1000)
committer
NeilBrown
<neilb@suse.de>
Fri, 8 May 2015 08:40:01 +0000
(18:40 +1000)
The new batch_lock and batch_list fields are being initialized in
grow_one_stripe() but not in resize_stripes(). This causes a crash
on resize.
So separate the core initialization into a new function and call it
from both allocation sites.
Signed-off-by: NeilBrown <neilb@suse.de>
Fixes:
59fc630b8b5f
("RAID5: batch adjacent full stripe write")
drivers/md/raid5.c
patch
|
blob
|
history
diff --cc
drivers/md/raid5.c
Simple merge