diff options
author | Jeff Layton | 2014-08-09 10:22:41 -0400 |
---|---|---|
committer | J. Bruce Fields | 2014-08-17 12:00:14 -0400 |
commit | afbda402a02bde74f350ff98243265dfd3108fb3 (patch) | |
tree | d5b1adf4fd21730c7ac49a82a43890ba3e694a37 /fs/mount.h | |
parent | 6bcc034eac79873468cdfd1ccea9f25ee67c4500 (diff) |
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 'fs/mount.h')
0 files changed, 0 insertions, 0 deletions