nfsd: rpc_peeraddr2str needs rcu lock
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 14 Jun 2021 15:20:49 +0000 (11:20 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 7 Jul 2021 00:14:42 +0000 (20:14 -0400)
commit05570a2b01117209b500e1989ce8f1b0524c489f
treefd1680a3e48c47449b231589d13bc1c4ba4298b3
parentf6260b98ec1493b214f13bb9d0545779ffe87748
nfsd: rpc_peeraddr2str needs rcu lock

I'm not even sure cl_xprt can change here, but we're getting "suspicious
RCU usage" warnings, and other rpc_peeraddr2str callers are taking the
rcu lock.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4callback.c