summaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2014-09-10 16:01:24 +1000
committerNeilBrown <neilb@suse.de>2014-09-22 11:26:01 +1000
commitc2fd4c94deedb89ac1746c4a53219be499372c06 (patch)
treec0d082333a84c70b3eda3e68232eea88bbc52f39 /include/crypto
parent235549605eb7f1c5a37cef8b09d12e6d412c5cd6 (diff)
downloadop-kernel-dev-c2fd4c94deedb89ac1746c4a53219be499372c06.zip
op-kernel-dev-c2fd4c94deedb89ac1746c4a53219be499372c06.tar.gz
md/raid1: update next_resync under resync_lock.
raise_barrier() uses next_resync as part of its calculations, so it really should be updated first, instead of afterwards. next_resync is always used under resync_lock so update it under resync lock to, just before it is used. That is safest. This could cause normal IO and resync IO to interact badly so it suitable for -stable. Fixes: 79ef3a8aa1cb1523cc231c9a90a278333c21f761 cc: stable@vger.kernel.org (v3.13+) Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'include/crypto')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud