aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/cts.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2016-06-02 02:19:52 -0400
committerShaohua Li <shli@fb.com>2016-06-13 14:54:15 -0400
commitd094d6860b6678057f70dee27121ea4860c55e06 (patch)
treef15d56552c46374fea09de2818e49aec0437626f /crypto/cts.c
parentf90145f317efad72e6552cecb09ab7a4e5d1e404 (diff)
md/raid10: add rcu protection to rdev access during reshape.
mirrors[].rdev can become NULL at any point unless: - a counted reference is held - ->reconfig_mutex is held, or - rcu_read_lock() is held Reshape isn't always suitably careful as in the past rdev couldn't be removed during reshape. It can now, so add protection. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'crypto/cts.c')
0 files changed, 0 insertions, 0 deletions