mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOSKRNL]
Use LIST_ENTRY not pointer on them as head svn path=/trunk/; revision=55930
This commit is contained in:
parent
171a3edfaa
commit
256540b703
2 changed files with 4 additions and 4 deletions
|
@ -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)))
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue