summaryrefslogtreecommitdiffstats
path: root/drivers/rpmsg
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-08-27 15:52:13 +1000
committerNeilBrown <neilb@suse.de>2013-08-28 16:58:36 +1000
commitc46501b2deaa06efcaaf82917281941f02c6b307 (patch)
treebafe1a096cda8f657074d59cec815b7ae717cd96 /drivers/rpmsg
parentb721420e8719131896b009b11edbbd27d9b85e98 (diff)
downloadblackbird-obmc-linux-c46501b2deaa06efcaaf82917281941f02c6b307.tar.gz
blackbird-obmc-linux-c46501b2deaa06efcaaf82917281941f02c6b307.zip
md/raid5: use seqcount to protect access to shape in make_request.
make_request() access various shape parameters (raid_disks, chunk_size etc) which might be changed by raid5_start_reshape(). If the later is called at and awkward time during the form, the wrong stripe_head might be used. So introduce a 'seqcount' and after finding a stripe_head make sure there is no reason to expect that we got the wrong one. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/rpmsg')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud