Skip to content
Snippets Groups Projects
Commit 19e03c57 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4: Ensure that file unlock requests don't conflict with state recovery


The unlock path is currently failing to take the nfs_client->cl_sem read
lock, and hence the recovery path may see locks disappear from underneath
it.
Also ensure that it takes the nfs_inode->rwsem read lock so that it there
is no conflict with delegation recalls.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 65de872e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment