From: Trond Myklebust Date: Thu, 7 Feb 2013 15:54:07 +0000 (-0500) Subject: NFSv4: Ensure delegation recall and byte range lock removal don't conflict X-Git-Tag: v3.9-rc1~132^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65b62a29f719e937b5be1df472287f4c61e53ac6;p=pandora-kernel.git NFSv4: Ensure delegation recall and byte range lock removal don't conflict Add a mutex to the struct nfs4_state_owner to ensure that delegation recall doesn't conflict with byte range lock removal. Note that we nest the new mutex _outside_ the state manager reclaim protection (nfsi->rwsem) in order to avoid deadlocks. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed