commit | 5f0aa21da6cc620b08e5f69f51db29cb1f722174 | [log] [tgz] |
---|---|---|
author | Guoqing Jiang <gqjiang@suse.com> | Fri Aug 12 13:42:39 2016 +0800 |
committer | Shaohua Li <shli@fb.com> | Wed Sep 21 09:09:44 2016 -0700 |
tree | d8c4500e089b5aae7d3a2ff26b23eec323fdee0a | |
parent | c20c33f0e2abdb8bab1ec755ed668d7894bf9336 [diff] |
md-cluster: protect md_find_rdev_nr_rcu with rcu lock We need to use rcu_read_lock/unlock to avoid potential race. Reported-by: Shaohua Li <shli@fb.com> Reviewed-by: NeilBrown <neilb@suse.com> Signed-off-by: Guoqing Jiang <gqjiang@suse.com> Signed-off-by: Shaohua Li <shli@fb.com>