[driver] dont set NetRootStatus on failure
Setting it was cause exiting mounts to go away.
This commit is contained in:
parent
9af1b590ff
commit
6b05d84e93
1 changed files with 2 additions and 1 deletions
|
|
@ -2811,7 +2811,8 @@ NTSTATUS nfs41_CreateVNetRoot(
|
||||||
out:
|
out:
|
||||||
/* AGLO do we need to worry about handling new netroot vs using existing one */
|
/* AGLO do we need to worry about handling new netroot vs using existing one */
|
||||||
pCreateNetRootContext->VirtualNetRootStatus = status;
|
pCreateNetRootContext->VirtualNetRootStatus = status;
|
||||||
pCreateNetRootContext->NetRootStatus = status;
|
if (pNetRoot->Context == NULL)
|
||||||
|
pCreateNetRootContext->NetRootStatus = status;
|
||||||
DbgP("initiating net root callback with status %08lx\n", status);
|
DbgP("initiating net root callback with status %08lx\n", status);
|
||||||
pCreateNetRootContext->Callback(pCreateNetRootContext);
|
pCreateNetRootContext->Callback(pCreateNetRootContext);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue