aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorTrond Myklebust <[email protected]>2017-11-03 08:00:11 -0400
committerJ. Bruce Fields <[email protected]>2017-11-27 16:45:10 -0500
commitd8a1a000555ecd1b824ac1ed6df8fe364dfbbbb0 (patch)
treefe0ba252cdf5aed298444abfbdc989991ec0e84b /tools/perf/scripts/python/call-graph-from-sql.py
parent15ca08d3299682dc49bad73251677b2c5017ef08 (diff)
nfsd: Fix another OPEN stateid race
If nfsd4_process_open2() is initialising a new stateid, and yet the call to nfs4_get_vfs_file() fails for some reason, then we must declare the stateid closed, and unhash it before dropping the mutex. Right now, we unhash the stateid after dropping the mutex, and without changing the stateid type, meaning that another OPEN could theoretically look it up and attempt to use it. Reported-by: Andrew W Elble <[email protected]> Signed-off-by: Trond Myklebust <[email protected]> Cc: [email protected] Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions