commit | 65b62a29f719e937b5be1df472287f4c61e53ac6 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Feb 07 10:54:07 2013 -0500 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Mon Feb 11 15:33:13 2013 -0500 |
tree | ea6b552a08883d92cfedb891044fa9697cbc5619 | |
parent | 37380e4264dbda9753e470a30d4322097aab7152 [diff] |
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 <Trond.Myklebust@netapp.com>