[NTOSKRNL]

Use LIST_ENTRY not pointer on them as head

svn path=/trunk/; revision=55930
This commit is contained in:
Pierre Schweitzer 2012-02-29 19:26:43 +00:00
parent 171a3edfaa
commit 256540b703
2 changed files with 4 additions and 4 deletions

View file

@ -178,12 +178,12 @@ FsRtlNotifyCleanup(IN PNOTIFY_SYNC NotifySync,
NotifyChange->Flags |= CLEANUP_IN_PROCESS;
/* If there are pending IRPs, complete them using the STATUS_NOTIFY_CLEANUP status */
if (!IsListEmpty(NotifyChange->NotifyIrps))
if (!IsListEmpty(&NotifyChange->NotifyIrps))
{
FsRtlNotifyCompleteIrpList(NotifyChange, STATUS_NOTIFY_CLEANUP);
}
/* Remove from the list */
RemoveEntryList(NotifyChange->NotifyList);
RemoveEntryList(&NotifyChange->NotifyList);
/* Downcrease reference number and if 0 is reached, it's time to do complete cleanup */
if (!InterlockedDecrement((PLONG)&(NotifyChange->ReferenceCount)))

View file

@ -75,8 +75,8 @@ typedef struct _NOTIFY_CHANGE
PCHECK_FOR_TRAVERSE_ACCESS TraverseCallback;
PSECURITY_SUBJECT_CONTEXT SubjectContext;
PSTRING FullDirectoryName;
PLIST_ENTRY NotifyList;
PLIST_ENTRY NotifyIrps;
LIST_ENTRY NotifyList;
LIST_ENTRY NotifyIrps;
PFILTER_REPORT_CHANGE FilterCallback;
USHORT Flags;
UCHAR CharacterSize;