When using an NFSv4 mount in the experimental nfs client with delegations
being issued from the server, there was a case where an Open issued locally based on the delegation would be released before the associated vnode became inactive. If the delegation was recalled after the open was released, an Open against the server would not have been acquired and subsequent I/O operations would need to use the special stateid of all zeros. This patch fixes that case. Approved by: re (kensmith), kib (mentor)
This commit is contained in:
parent
94c7d993a3
commit
7f1968ba10
@ -2472,7 +2472,7 @@ tryagain:
|
||||
clearok = 1;
|
||||
LIST_FOREACH(owp, &dp->nfsdl_owner, nfsow_list) {
|
||||
op = LIST_FIRST(&owp->nfsow_open);
|
||||
if (op != NULL && op->nfso_opencnt > 0) {
|
||||
if (op != NULL) {
|
||||
clearok = 0;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user