diff options
author | Guoqing Jiang <gqjiang@suse.com> | 2016-08-12 13:42:39 +0800 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2016-09-21 09:09:44 -0700 |
commit | 5f0aa21da6cc620b08e5f69f51db29cb1f722174 (patch) | |
tree | d8c4500e089b5aae7d3a2ff26b23eec323fdee0a /drivers/iommu/fsl_pamu.c | |
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>
Diffstat (limited to 'drivers/iommu/fsl_pamu.c')
0 files changed, 0 insertions, 0 deletions