diff options
author | NeilBrown <neilb@suse.com> | 2016-06-02 06:19:52 (GMT) |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2016-06-13 18:54:14 (GMT) |
commit | d44b0a928fa9925fb453d7acc42a48c79de2c6f7 (patch) | |
tree | 24351c0d633aeec643c7f39ef6642096d4255dc3 /.get_maintainer.ignore | |
parent | 83f1261f5e5516d7cf58a04b97e4e63e747a9157 (diff) | |
download | linux-d44b0a928fa9925fb453d7acc42a48c79de2c6f7.tar.xz |
md/raid10: add rcu protection in raid10_status.
mirrors[].rdev can become NULL at any point unless:
- a counted reference is held
- ->reconfig_mutex is held, or
- rcu_read_lock() is held
raid10_status holds none of these. So add rcu_read_lock()
protection.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions