[driver] verifier raised issue with lists
first element in the lists (head) doesn't store any entries so we should skip it when we traverse the list.
This commit is contained in:
parent
65c6091f69
commit
d646e5c58c
1 changed files with 2 additions and 0 deletions
|
|
@ -1521,6 +1521,7 @@ nfs41_downcall (
|
|||
|
||||
ExAcquireFastMutex(&downcallLock);
|
||||
pEntry = &downcall->head;
|
||||
pEntry = pEntry->Flink;
|
||||
while (pEntry != NULL) {
|
||||
cur = (nfs41_updowncall_entry *)CONTAINING_RECORD(pEntry,
|
||||
nfs41_updowncall_entry, next);
|
||||
|
|
@ -2696,6 +2697,7 @@ NTSTATUS nfs41_CreateVNetRoot(
|
|||
|
||||
ExAcquireFastMutex(&pNetRootContext->mountLock);
|
||||
pEntry = &pNetRootContext->mounts->head;
|
||||
pEntry = pEntry->Flink;
|
||||
while (pEntry != NULL) {
|
||||
existing_mount = (nfs41_mount_entry *)CONTAINING_RECORD(pEntry,
|
||||
nfs41_mount_entry, next);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue