Skip to content
Commit 9512135d authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4: Fix a potential CLOSE race



 Once the state_owner and lock_owner semaphores get removed, it will be
 possible for other OPEN requests to reopen the same file if they have
 lower sequence ids than our CLOSE call.
 This patch ensures that we recheck the file state once
 nfs_wait_on_sequence() has completed waiting.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent cee54fc9
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