Skip to content
Commit 65b62a29 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 37380e42
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment