diff options
author | 2014-08-09 10:22:41 -0400 | |
---|---|---|
committer | 2014-08-17 12:00:14 -0400 | |
commit | afbda402a02bde74f350ff98243265dfd3108fb3 (patch) | |
tree | d5b1adf4fd21730c7ac49a82a43890ba3e694a37 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | nfsd: protect lease-related nfs4_file fields with fi_lock (diff) | |
download | wireguard-linux-afbda402a02bde74f350ff98243265dfd3108fb3.tar.xz wireguard-linux-afbda402a02bde74f350ff98243265dfd3108fb3.zip |
nfsd: call nfs4_put_deleg_lease outside of state_lock
Currently, we hold the state_lock when releasing the lease. That's
potentially problematic in the future if we allow for setlease methods
that can sleep. Move the nfs4_put_deleg_lease call out of the delegation
unhashing routine (which was always a bit goofy anyway), and into the
unlocked sections of the callers of unhash_delegation_locked.
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions