fs: dlm: fix proper srcu api call
authorAlexander Aring <aahringo@redhat.com>
Tue, 3 Nov 2020 01:04:16 +0000 (20:04 -0500)
committerDavid Teigland <teigland@redhat.com>
Tue, 10 Nov 2020 18:14:20 +0000 (12:14 -0600)
commit5cbec208dc994de860ae72d3340bc54f14e71b39
tree306c98e9829e1a2a35f4dacfe08c46b6c6c1f926
parent3cea11cd5e3b00d91caf0b4730194039b45c5891
fs: dlm: fix proper srcu api call

This patch will use call_srcu() instead of call_rcu() because the
related datastructure resource are handled under srcu context. I assume
the current code is fine anyway since free_conn() must be called when
the related resource are not in use otherwise. However it will correct
the overall handling in a srcu context.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c