aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorBenny Halevy <[email protected]>2014-05-30 09:09:27 -0400
committerJ. Bruce Fields <[email protected]>2014-06-04 15:41:52 -0400
commit931ee56c67573eb4e51c8a4e78598d965b8b059e (patch)
treec9a2dd61a536acd1110ee611c1996cd6b57783ac /tools/perf/scripts/python/Perf-Trace-Util/lib
parenta832e7ae8b4f71fc522089d83fd445693aa7dbc5 (diff)
nfsd4: use recall_lock for delegation hashing
This fixes a bug in the handling of the fi_delegations list. nfs4_setlease does not hold the recall_lock when adding to it. The client_mutex is held, which prevents against concurrent list changes, but nfsd_break_deleg_cb does not hold while walking it. New delegations could theoretically creep onto the list while we're walking it there. Signed-off-by: Benny Halevy <[email protected]> Signed-off-by: Jeff Layton <[email protected]> Cc: [email protected] Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions