aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2023-01-06 10:33:48 -0500
committerChuck Lever <[email protected]>2023-02-20 09:20:22 -0500
commitbd6aaf781dae436727928cce514881d3c32758b9 (patch)
tree1746c5eacc83d3074a4058b526b159a26a3c5f62 /tools/perf/scripts/python/stackcollapse.py
parent70f62231cdfd52357836733dd31db787e0412ab2 (diff)
nfsd: fix potential race in nfs4_find_file
The WARN_ON_ONCE check is not terribly useful. It also seems possible for nfs4_find_file to race with the destruction of an fi_deleg_file while trying to take a reference to it. Now that it's safe to pass nfs_get_file a NULL pointer, remove the WARN and NULL pointer check. Take the fi_lock when fetching fi_deleg_file. Cc: NeilBrown <[email protected]> Signed-off-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions