commit | 9512135df14f8293b9bc5e8fb22d4279dee5ff66 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Oct 18 14:20:12 2005 -0700 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Oct 18 14:20:12 2005 -0700 |
tree | 83fb778ed53ba10c46734968f538aa0a57d376a1 | |
parent | cee54fc944422c44e476736c045a9e8053cb0644 [diff] |
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: Trond Myklebust <Trond.Myklebust@netapp.com>