summaryrefslogtreecommitdiffstats
path: root/fs/nfs/dir.c
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@Netapp.com>2017-11-01 15:48:43 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-11-17 16:43:43 -0500
commit3944369db701f075092357b511fd9f5755771585 (patch)
treec1b5b6e3cd91ecefe8fc8de808237ef5edf5f328 /fs/nfs/dir.c
parent62b56a675565a2e40f2cdf50455977448fd87413 (diff)
downloadlinux-3944369db701f075092357b511fd9f5755771585.tar.bz2
NFS: Avoid RCU usage in tracepoints
There isn't an obvious way to acquire and release the RCU lock during a tracepoint, so we can't use the rpc_peeraddr2str() function here. Instead, rely on the client's cl_hostname, which should have similar enough information without needing an rcu_dereference(). Reported-by: Dave Jones <davej@codemonkey.org.uk> Cc: stable@vger.kernel.org # v3.12 Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/dir.c')
0 files changed, 0 insertions, 0 deletions