From: Jeff Layton Date: Sat, 9 Aug 2014 14:22:41 +0000 (-0400) Subject: nfsd: call nfs4_put_deleg_lease outside of state_lock X-Git-Tag: fixes-for-v3.18-merge-window~9^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afbda402a02bde74f350ff98243265dfd3108fb3;p=pandora-kernel.git 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 Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed