diff options
author | Benny Halevy <[email protected]> | 2014-05-30 09:09:27 -0400 |
---|---|---|
committer | J. Bruce Fields <[email protected]> | 2014-06-04 15:41:52 -0400 |
commit | 931ee56c67573eb4e51c8a4e78598d965b8b059e (patch) | |
tree | c9a2dd61a536acd1110ee611c1996cd6b57783ac /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | a832e7ae8b4f71fc522089d83fd445693aa7dbc5 (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