diff options
author | NeilBrown <neilb@suse.de> | 2015-05-08 18:19:04 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-05-08 18:40:01 +1000 |
commit | f18c1a35f62caccb527e8b0990c8801596e7c662 (patch) | |
tree | 237497fe32aed9fa9aed1b92d8fe7875a7b188b8 /scripts/Makefile.modpost | |
parent | b6538fe32966e63ef38897860ef220980d904974 (diff) | |
download | blackbird-op-linux-f18c1a35f62caccb527e8b0990c8801596e7c662.tar.gz blackbird-op-linux-f18c1a35f62caccb527e8b0990c8801596e7c662.zip |
md/raid5: new alloc_stripe() to allocate an initialize a stripe.
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")
Diffstat (limited to 'scripts/Makefile.modpost')
0 files changed, 0 insertions, 0 deletions