summaryrefslogtreecommitdiffstats
path: root/firmware/radeon/RV635_pfp.bin.ihex
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2015-05-08 18:19:39 +1000
committerNeilBrown <neilb@suse.de>2015-05-08 18:47:48 +1000
commit738a273806ee0568369c9bb19ef3b102f54beef4 (patch)
tree0ab185c18654c98a9c5151f14aed1bdfdfb750f0 /firmware/radeon/RV635_pfp.bin.ihex
parent6e9eac2dcee5e19f125967dd2be3e36558c42fff (diff)
downloadblackbird-op-linux-738a273806ee0568369c9bb19ef3b102f54beef4.tar.gz
blackbird-op-linux-738a273806ee0568369c9bb19ef3b102f54beef4.zip
md/raid5: fix allocation of 'scribble' array.
As the new 'scribble' array is sized based on chunk size, we need to make sure the size matches the largest of 'old' and 'new' chunk sizes when the array is undergoing reshape. We also potentially need to resize it even when not resizing the stripe cache, as chunk size can change without changing number of devices. So move the 'resize' code into a separate function, and consider old and new sizes when allocating. Signed-off-by: NeilBrown <neilb@suse.de> Fixes: 46d5b785621a ("raid5: use flex_array for scribble data")
Diffstat (limited to 'firmware/radeon/RV635_pfp.bin.ihex')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud