summaryrefslogtreecommitdiff
path: root/mm/cma.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2019-05-07 17:16:26 +0300
committerDavid Howells <dhowells@redhat.com>2019-05-15 19:35:53 +0300
commit6b8812fc8ec28c13c09c89f88ce3958f19238838 (patch)
tree9cbdfed7205a1b2255706b1293893639b1122ba4 /mm/cma.c
parent773e0c40253443e0ce5491cb0e414b62f7cc45ed (diff)
downloadlinux-6b8812fc8ec28c13c09c89f88ce3958f19238838.tar.xz
afs: Fix missing lock when replacing VL server list
When afs_update_cell() replaces the cell->vl_servers list, it uses RCU protocol so that proc is protected, but doesn't take ->vl_servers_lock to protect afs_start_vl_iteration() (which does actually take a shared lock). Fix this by making afs_update_cell() take an exclusive lock when replacing ->vl_servers. Fixes: 0a5143f2f89c ("afs: Implement VL server rotation") Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'mm/cma.c')
0 files changed, 0 insertions, 0 deletions